mirror of
https://codeberg.org/vyn/mirai.git
synced 2025-07-03 10:13:42 +00:00
Ui changes, remove unused buttons
This commit is contained in:
parent
36a2fe9220
commit
e28ba796cd
53 changed files with 133 additions and 27125 deletions
3
external/slint-vynui/ActionButton.slint
vendored
3
external/slint-vynui/ActionButton.slint
vendored
|
@ -7,6 +7,7 @@ export component VActionButton inherits Rectangle {
|
|||
in property<brush> icon-colorize: Palette.foreground;
|
||||
in property<length> icon-size: 1rem;
|
||||
in property<string> icon-svg;
|
||||
in property<length> icon-svg-stroke-width: 2px;
|
||||
in property enabled <=> ta.enabled;
|
||||
callback clicked;
|
||||
|
||||
|
@ -33,7 +34,7 @@ export component VActionButton inherits Rectangle {
|
|||
padding: 8px;
|
||||
commands: root.icon-svg;
|
||||
stroke: icon-colorize;
|
||||
stroke-width: 2px;
|
||||
stroke-width: icon-svg-stroke-width;
|
||||
width: icon-size;
|
||||
height: icon-size;
|
||||
fill: icon-colorize;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue