mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-14 01:31:50 +00:00
energy-monitor: fix missing icon in settings
This commit is contained in:
parent
185384b0d5
commit
576a0b6695
1 changed files with 2 additions and 1 deletions
|
|
@ -2,6 +2,7 @@
|
||||||
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
|
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
|
||||||
|
|
||||||
import { Theme } from "../../theme.slint";
|
import { Theme } from "../../theme.slint";
|
||||||
|
import { Images } from "../../images.slint";
|
||||||
import { About } from "about.slint";
|
import { About } from "about.slint";
|
||||||
import { Page } from "../page.slint";
|
import { Page } from "../page.slint";
|
||||||
import { IconButton, CheckBox, RadioButton, Switch, ScrollView, Item, ItemGroupBox } from "../../widgets/widgets.slint";
|
import { IconButton, CheckBox, RadioButton, Switch, ScrollView, Item, ItemGroupBox } from "../../widgets/widgets.slint";
|
||||||
|
|
@ -68,7 +69,7 @@ export component Settings inherits Page {
|
||||||
|
|
||||||
i-back-button := IconButton {
|
i-back-button := IconButton {
|
||||||
horizontal-stretch: 0;
|
horizontal-stretch: 0;
|
||||||
icon: @image-url("../../assets/arrow-left.svg");
|
icon: Images.arrow-left;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue