mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-19 15:58:56 +00:00
PixelPaint: Tweak FilterGallery layout
This brings the spacing in line with the rest of the system, and removes unneeded margins that only bloated the layout and caused edges to be misaligned.
This commit is contained in:
parent
761325cd66
commit
25ffe234ac
Notes:
sideshowbarker
2024-07-17 08:54:52 +09:00
Author: https://github.com/frhun
Commit: 25ffe234ac
Pull-request: https://github.com/SerenityOS/serenity/pull/14491
1 changed files with 11 additions and 10 deletions
|
@ -1,11 +1,12 @@
|
||||||
@GUI::Frame {
|
@GUI::Frame {
|
||||||
layout: @GUI::VerticalBoxLayout {}
|
layout: @GUI::VerticalBoxLayout {
|
||||||
|
margins: [4]
|
||||||
|
spacing: 6
|
||||||
|
}
|
||||||
fill_with_background_color: true
|
fill_with_background_color: true
|
||||||
|
|
||||||
@GUI::Widget {
|
@GUI::Widget {
|
||||||
layout: @GUI::HorizontalBoxLayout {
|
layout: @GUI::HorizontalBoxLayout {}
|
||||||
margins: [4]
|
|
||||||
}
|
|
||||||
|
|
||||||
@GUI::TreeView {
|
@GUI::TreeView {
|
||||||
name: "tree_view"
|
name: "tree_view"
|
||||||
|
@ -13,9 +14,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
@GUI::Widget {
|
@GUI::Widget {
|
||||||
layout: @GUI::VerticalBoxLayout {
|
layout: @GUI::VerticalBoxLayout {}
|
||||||
margins: [4]
|
|
||||||
}
|
|
||||||
|
|
||||||
@GUI::Widget {
|
@GUI::Widget {
|
||||||
name: "config_widget"
|
name: "config_widget"
|
||||||
|
@ -24,6 +23,8 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@GUI::Layout::Spacer {}
|
||||||
|
|
||||||
@GUI::GroupBox {
|
@GUI::GroupBox {
|
||||||
title: "Preview"
|
title: "Preview"
|
||||||
layout: @GUI::VerticalBoxLayout {
|
layout: @GUI::VerticalBoxLayout {
|
||||||
|
@ -38,12 +39,12 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
@GUI::Widget {
|
@GUI::Widget {
|
||||||
max_height: 24
|
|
||||||
layout: @GUI::HorizontalBoxLayout {
|
layout: @GUI::HorizontalBoxLayout {
|
||||||
margins: [4]
|
spacing: 6
|
||||||
}
|
}
|
||||||
|
preferred_height: "fit"
|
||||||
|
|
||||||
@GUI::Widget {}
|
@GUI::Layout::Spacer {}
|
||||||
|
|
||||||
@GUI::DialogButton {
|
@GUI::DialogButton {
|
||||||
name: "apply_button"
|
name: "apply_button"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue