Add frame around the application view.

This commit is contained in:
2026-02-08 14:52:57 -05:00
parent 4bb4ce1882
commit 5f5b1a4d39
6 changed files with 23 additions and 9 deletions

View File

@@ -10,7 +10,7 @@ import clide.module 1.0
import Logger 1.0
Rectangle {
color: "transparent"
color: RustColors.editor_background
RowLayout {
anchors.fill: parent

View File

@@ -14,11 +14,11 @@ Rectangle {
required property string projectDir
signal fileClicked(string path)
clip: true
color: RustColors.explorer_background
radius: 20
signal fileClicked(string path)
topLeftRadius: 10
ColumnLayout {
anchors.fill: parent

View File

@@ -9,11 +9,12 @@ import clide.module 1.0
import Logger 1.0
Rectangle {
color: "#111"
color: RustColors.terminal_background
radius: 10
ListModel {
id: model
}
ListView {
id: listView

View File

@@ -11,7 +11,6 @@ MenuBar {
// Background for this MenuBar.
background: Rectangle {
color: RustColors.menubar
radius: 20.0
}
//

View File

@@ -22,8 +22,22 @@ ApplicationWindow {
menuBar: ClideMenuBar {
}
Rectangle {
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
}
}
}

View File

@@ -93,7 +93,7 @@ impl Default for RustColorsImpl {
linenumber: QColor::try_from("#94989b").unwrap(),
active: QColor::try_from("#a9acb0").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_highlighted_text: QColor::try_from("#ccced3").unwrap(),
editor_highlight: QColor::try_from("#ccced3").unwrap(),