mirror of
https://codeberg.org/vyn/mirai.git
synced 2025-07-03 01:33:19 +00:00
Remove PNG images, replace them with SVGs
This commit is contained in:
parent
e28ba796cd
commit
f45aa601c7
23 changed files with 84 additions and 308 deletions
3
external/slint-vynui/DatePicker.slint
vendored
3
external/slint-vynui/DatePicker.slint
vendored
|
@ -2,6 +2,7 @@ import { Button, DatePickerPopup, Date, Palette } from "std-widgets.slint";
|
|||
import { VLabeledComponent } from "LabeledComponent.slint";
|
||||
import { VActionButton } from "ActionButton.slint";
|
||||
import { VButton } from "Button.slint";
|
||||
import { Svg } from "Svg.slint";
|
||||
|
||||
export component VDatePicker inherits VLabeledComponent {
|
||||
in-out property<Date> date;
|
||||
|
@ -34,7 +35,7 @@ export component VDatePicker inherits VLabeledComponent {
|
|||
clicked => { taskDateInput.show() }
|
||||
}
|
||||
VActionButton {
|
||||
icon-svg: "M18 28A12 12 0 1 0 6 16v6.2l-3.6-3.6L1 20l6 6l6-6l-1.4-1.4L8 22.2V16a10 10 0 1 1 10 10Z";
|
||||
icon-svg: Svg.reset;
|
||||
icon-svg-stroke-width: 1px;
|
||||
enabled: root.enabled;
|
||||
clicked => { resetDate() }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue