diff options
author | sin-ack <sin-ack@users.noreply.github.com> | 2021-08-17 00:10:51 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-08-18 10:30:50 +0200 |
commit | 9c9a5c55cb34c63f3b6d3bf36dcbc6c37a429677 (patch) | |
tree | 368b982eb9ccf6ccf55aa3cdfe5ea32d613c5aa4 /Userland/Applications/KeyboardSettings | |
parent | c17f9adb1203501ae22f51188d02ed98b53128b7 (diff) | |
download | serenity-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/KeyboardSettings')
-rw-r--r-- | Userland/Applications/KeyboardSettings/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/KeyboardSettings/main.cpp b/Userland/Applications/KeyboardSettings/main.cpp index 8c77b31705..411e6b9536 100644 --- a/Userland/Applications/KeyboardSettings/main.cpp +++ b/Userland/Applications/KeyboardSettings/main.cpp @@ -154,7 +154,7 @@ int main(int argc, char** argv) bottom_widget.set_layout<GUI::HorizontalBoxLayout>(); bottom_widget.layout()->add_spacer(); bottom_widget.set_fixed_height(30); - bottom_widget.set_content_margins({ 0, 4, 0, 4 }); + bottom_widget.set_content_margins({ 4, 0, 4, 0 }); auto& ok_button = bottom_widget.add<GUI::Button>(); ok_button.set_text("OK"); |