summaryrefslogtreecommitdiff
path: root/Userland/Applications/PixelPaint/ToolPropertiesWidget.cpp
diff options
context:
space:
mode:
authorsin-ack <sin-ack@users.noreply.github.com>2021-08-17 00:10:51 +0000
committerAndreas Kling <kling@serenityos.org>2021-08-18 10:30:50 +0200
commit9c9a5c55cb34c63f3b6d3bf36dcbc6c37a429677 (patch)
tree368b982eb9ccf6ccf55aa3cdfe5ea32d613c5aa4 /Userland/Applications/PixelPaint/ToolPropertiesWidget.cpp
parentc17f9adb1203501ae22f51188d02ed98b53128b7 (diff)
downloadserenity-9c9a5c55cb34c63f3b6d3bf36dcbc6c37a429677.zip
Userland+LibGUI: Make Margins arguments match CSS ordering
Previously the argument order for Margins was (left, top, right, bottom). To make it more familiar and closer to how CSS does it, the argument order is now (top, right, bottom, left).
Diffstat (limited to 'Userland/Applications/PixelPaint/ToolPropertiesWidget.cpp')
-rw-r--r--Userland/Applications/PixelPaint/ToolPropertiesWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/PixelPaint/ToolPropertiesWidget.cpp b/Userland/Applications/PixelPaint/ToolPropertiesWidget.cpp
index 3bbbe8b82a..9e96db24b2 100644
--- a/Userland/Applications/PixelPaint/ToolPropertiesWidget.cpp
+++ b/Userland/Applications/PixelPaint/ToolPropertiesWidget.cpp
@@ -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({ 10, 20, 10, 10 });
+ layout.set_margins({ 20, 10, 10, 10 });
m_tool_widget_stack = m_group_box->add<GUI::StackWidget>();
m_blank_widget = m_tool_widget_stack->add<GUI::Widget>();
}