1
0
Fork 0
mirror of synced 2024-10-01 01:27:17 +13:00
czkawka/czkawka_slint_gui/ui/bottom_panel.slint

58 lines
1.3 KiB
Text
Raw Normal View History

2023-11-02 04:36:38 +13:00
import {Button, StandardListView, VerticalBox} from "std-widgets.slint";
import {Settings} from "settings.slint";
export component BottomPanel {
min-height: 50px;
min-width: 400px;
out property <length> buttonSize: 75px;
HorizontalLayout {
VerticalLayout {
width: buttonSize;
Button {
text: "Add";
}
Button {
text: "Remove";
}
Rectangle {
vertical-stretch: 1.0;
}
}
VerticalLayout {
Rectangle {
Text {
text: "Included Directories";
}
}
StandardListView {
model: Settings.included-directories;
}
}
VerticalLayout {
width: buttonSize;
Button {
text: "Add";
}
Button {
text: "Remove";
}
Rectangle {
vertical-stretch: 1.0;
}
}
VerticalLayout {
Rectangle {
Text {
text: "Excluded Directories";
}
}
StandardListView {
model: Settings.excluded-directories;
}
}
}
}