Add frame around the application view.
This commit is contained in:
@@ -10,7 +10,7 @@ import clide.module 1.0
|
|||||||
import Logger 1.0
|
import Logger 1.0
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
color: "transparent"
|
color: RustColors.editor_background
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|||||||
@@ -14,11 +14,11 @@ Rectangle {
|
|||||||
|
|
||||||
required property string projectDir
|
required property string projectDir
|
||||||
|
|
||||||
|
signal fileClicked(string path)
|
||||||
|
|
||||||
clip: true
|
clip: true
|
||||||
color: RustColors.explorer_background
|
color: RustColors.explorer_background
|
||||||
radius: 20
|
topLeftRadius: 10
|
||||||
|
|
||||||
signal fileClicked(string path)
|
|
||||||
|
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|||||||
@@ -9,11 +9,12 @@ import clide.module 1.0
|
|||||||
import Logger 1.0
|
import Logger 1.0
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
color: "#111"
|
color: RustColors.terminal_background
|
||||||
radius: 10
|
radius: 10
|
||||||
|
|
||||||
ListModel {
|
ListModel {
|
||||||
id: model
|
id: model
|
||||||
|
|
||||||
}
|
}
|
||||||
ListView {
|
ListView {
|
||||||
id: listView
|
id: listView
|
||||||
|
|||||||
@@ -11,7 +11,6 @@ MenuBar {
|
|||||||
// Background for this MenuBar.
|
// Background for this MenuBar.
|
||||||
background: Rectangle {
|
background: Rectangle {
|
||||||
color: RustColors.menubar
|
color: RustColors.menubar
|
||||||
radius: 20.0
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|||||||
18
qml/main.qml
18
qml/main.qml
@@ -22,8 +22,22 @@ ApplicationWindow {
|
|||||||
menuBar: ClideMenuBar {
|
menuBar: ClideMenuBar {
|
||||||
}
|
}
|
||||||
|
|
||||||
ClideApplicationView {
|
Rectangle {
|
||||||
projectDir: appWindow.appContextPath
|
color: RustColors.menubar
|
||||||
|
width: appView.implicitWidth
|
||||||
|
height: appView.implicitHeight
|
||||||
|
|
||||||
|
ClideApplicationView {
|
||||||
|
id: appView
|
||||||
|
projectDir: appWindow.appContextPath
|
||||||
|
implicitHeight: appWindow.height
|
||||||
|
implicitWidth: appWindow.width
|
||||||
|
|
||||||
|
anchors.right: parent.right
|
||||||
|
anchors.bottom: parent.bottom
|
||||||
|
anchors.leftMargin: 20
|
||||||
|
anchors.topMargin: 10
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ impl Default for RustColorsImpl {
|
|||||||
linenumber: QColor::try_from("#94989b").unwrap(),
|
linenumber: QColor::try_from("#94989b").unwrap(),
|
||||||
active: QColor::try_from("#a9acb0").unwrap(),
|
active: QColor::try_from("#a9acb0").unwrap(),
|
||||||
inactive: QColor::try_from("#FFF").unwrap(),
|
inactive: QColor::try_from("#FFF").unwrap(),
|
||||||
editor_background: QColor::try_from("#111111").unwrap(),
|
editor_background: QColor::try_from("#1E1F22").unwrap(),
|
||||||
editor_text: QColor::try_from("#acaea3").unwrap(),
|
editor_text: QColor::try_from("#acaea3").unwrap(),
|
||||||
editor_highlighted_text: QColor::try_from("#ccced3").unwrap(),
|
editor_highlighted_text: QColor::try_from("#ccced3").unwrap(),
|
||||||
editor_highlight: QColor::try_from("#ccced3").unwrap(),
|
editor_highlight: QColor::try_from("#ccced3").unwrap(),
|
||||||
|
|||||||
Reference in New Issue
Block a user