summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/edit.rs19
1 files changed, 12 insertions, 7 deletions
diff --git a/src/edit.rs b/src/edit.rs
index 016ed9a..3d8b688 100644
--- a/src/edit.rs
+++ b/src/edit.rs
@@ -55,18 +55,23 @@ slint::slint! {
background : current-color;
VerticalBox {
- pdesc := Text {
- /* Text will be set through callback from Rust. */
- text : i;
+ Rectangle {
+ pdesc := Text {
+ /* Text will be set through callback from Rust. */
+ text : i;
+ }
}
Rectangle {
background : ptouch.has-hover ? #ffffff77 : #cccccc33;
- pval := TextInput {
- text : Aux.format-rgb-hex(current-color);
- font-size : 9pt;
+ pval := Text {
+ text : Aux.format-rgb-hex(current-color);
+ font-family : "mono";
+ font-size : 9pt;
}
}
- Rectangle { }
+ Rectangle {
+ background : green;
+ }
}
}
}