mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:27:35 +00:00
Applications: Remove border from GroupBox margins
This commit is contained in:
parent
a21ea5f10f
commit
54605794f9
20 changed files with 33 additions and 39 deletions
|
@ -14,7 +14,7 @@
|
|||
shrink_to_fit: true
|
||||
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
margins: [20, 10, 10]
|
||||
margins: [10, 8, 8]
|
||||
}
|
||||
|
||||
@GUI::RadioButton {
|
||||
|
|
|
@ -25,7 +25,7 @@ LayerPropertiesWidget::LayerPropertiesWidget()
|
|||
auto& group_box = add<GUI::GroupBox>("Layer properties");
|
||||
auto& layout = group_box.set_layout<GUI::VerticalBoxLayout>();
|
||||
|
||||
layout.set_margins({ 20, 10, 10 });
|
||||
layout.set_margins({ 8 });
|
||||
|
||||
auto& name_container = group_box.add<GUI::Widget>();
|
||||
name_container.set_fixed_height(20);
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
@GUI::GroupBox {
|
||||
title: "Layers"
|
||||
layout: @GUI::VerticalBoxLayout {
|
||||
margins: [16, 6, 6]
|
||||
margins: [6]
|
||||
}
|
||||
|
||||
@PixelPaint::LayerListWidget {
|
||||
|
|
|
@ -19,7 +19,7 @@ ToolPropertiesWidget::ToolPropertiesWidget()
|
|||
|
||||
m_group_box = add<GUI::GroupBox>("Tool properties");
|
||||
auto& layout = m_group_box->set_layout<GUI::VerticalBoxLayout>();
|
||||
layout.set_margins({ 20, 10, 10 });
|
||||
layout.set_margins({ 8 });
|
||||
m_tool_widget_stack = m_group_box->add<GUI::StackWidget>();
|
||||
m_blank_widget = m_tool_widget_stack->add<GUI::Widget>();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue