mirror of
https://github.com/kunkundi/crossdesk.git
synced 2026-11-07 06:39:10 +08:00
[feat] add dual-pane file transfers and directory browsing, refs #135
This commit is contained in:
@@ -12,6 +12,7 @@ export component RoundedLineEdit inherits Rectangle {
|
||||
in property <bool> enabled: true;
|
||||
in property <length> font-size: 12px;
|
||||
in property <color> normal-outline-color: UiSurface.edge;
|
||||
in property <float> tint-opacity: 1;
|
||||
in property <brush> surrounding-background: white;
|
||||
callback accepted();
|
||||
callback edited();
|
||||
@@ -36,6 +37,7 @@ export component RoundedLineEdit inherits Rectangle {
|
||||
// A visual-only tint preserves the standard editor and its built-in actions.
|
||||
Rectangle {
|
||||
width: parent.width; height: parent.height;
|
||||
opacity: root.tint-opacity;
|
||||
background: !root.enabled ? transparent
|
||||
: editor.has-focus ? ControlStyle.input-focus-tint : ControlStyle.input-tint;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user