mirror of
https://github.com/obhq/obliteration.git
synced 2025-04-02 11:02:08 -04:00
24 lines
585 B
Text
24 lines
585 B
Text
import { CheckBox, VerticalBox, GroupBox } from "std-widgets.slint";
|
|
|
|
export component GraphicsTab {
|
|
in property <string> debug-layer-name;
|
|
in-out property <bool> debug-layer-checked;
|
|
|
|
VerticalBox {
|
|
padding-top: 0;
|
|
padding-bottom: 0;
|
|
|
|
GroupBox {
|
|
title: "Debug";
|
|
|
|
VerticalLayout {
|
|
alignment: start;
|
|
|
|
CheckBox {
|
|
text: "Enable \{debug-layer-name} (restart required)";
|
|
checked <=> root.debug-layer-checked;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|