1
Fork 0
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:
FrHun 2021-09-15 17:56:01 +02:00 committed by Andreas Kling
parent a21ea5f10f
commit 54605794f9
20 changed files with 33 additions and 39 deletions

View file

@ -14,7 +14,7 @@
shrink_to_fit: true
layout: @GUI::HorizontalBoxLayout {
margins: [20, 10, 10]
margins: [10, 8, 8]
}
@GUI::RadioButton {

View file

@ -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);

View file

@ -51,7 +51,7 @@
@GUI::GroupBox {
title: "Layers"
layout: @GUI::VerticalBoxLayout {
margins: [16, 6, 6]
margins: [6]
}
@PixelPaint::LayerListWidget {

View file

@ -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>();
}