mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 18:58:36 +00:00
fluent: Make checkmark in Combobox look slimmer
This commit is contained in:
parent
6795564414
commit
a639cc5acb
1 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ export CheckBox := Rectangle {
|
|||
Rectangle {
|
||||
border-width: 1px;
|
||||
border-radius: 2px;
|
||||
/* border-color: !enabled ? Palette.neutralLighter : Palette.neutralSecondaryAlt;
|
||||
/* border-color: !enabled ? Palette.neutralLighter : Palette.neutralSecondaryAlt;
|
||||
background: !enabled ? Palette.white
|
||||
: touch.pressed ? Palette.neutralLight
|
||||
: touch.has-hover ? Palette.neutralLighter
|
||||
|
@ -48,7 +48,7 @@ export CheckBox := Rectangle {
|
|||
height: 66%;
|
||||
x: (parent.width - width) / 2;
|
||||
y: (parent.height - height) / 2;
|
||||
commands: "M23.5 11.875a.968.968 0 0 1-.289.711l-8.25 8.25c-.192.193-.43.289-.711.289s-.519-.096-.711-.289l-4.75-4.75a.965.965 0 0 1-.289-.711c0-.125.027-.25.082-.375s.129-.234.223-.328a.953.953 0 0 1 .695-.297c.135 0 .266.025.391.074.125.05.231.121.32.215l4.039 4.047 7.539-7.547a.886.886 0 0 1 .32-.215c.125-.049.255-.074.391-.074a1.004 1.004 0 0 1 .922.625.97.97 0 0 1 .078.375z";
|
||||
commands: "M.22.5.42.7.78.34.74.3.42.62.26.54z";
|
||||
fill: checked ? Palette.white : Palette.neutralSecondaryAlt;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue