PixelPaint: Wrap the layer list in a GUI::GroupBox and tweak width

This commit is contained in:
Andreas Kling 2021-05-16 00:58:29 +02:00
commit 10ea84a815
Notes: sideshowbarker 2024-07-18 18:03:58 +09:00

View file

@ -43,13 +43,20 @@
@GUI::Widget { @GUI::Widget {
fill_with_background_color: true fill_with_background_color: true
fixed_width: 230 fixed_width: 200
layout: @GUI::VerticalBoxLayout { layout: @GUI::VerticalBoxLayout {
} }
@PixelPaint::LayerListWidget { @GUI::GroupBox {
name: "layer_list_widget" title: "Layers"
layout: @GUI::VerticalBoxLayout {
margins: [4, 16, 4, 8]
}
@PixelPaint::LayerListWidget {
name: "layer_list_widget"
}
} }
@PixelPaint::LayerPropertiesWidget { @PixelPaint::LayerPropertiesWidget {