mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 20:47:45 +00:00
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).
This commit is contained in:
parent
c17f9adb12
commit
9c9a5c55cb
43 changed files with 78 additions and 78 deletions
|
@ -19,7 +19,7 @@
|
|||
|
||||
layout: @GUI::VerticalBoxLayout {
|
||||
// FIXME: This is working around the fact that group boxes don't allocate space for their title and border!
|
||||
margins: [10, 20, 10, 10]
|
||||
margins: [20, 10, 10, 10]
|
||||
}
|
||||
|
||||
@GUI::RadioButton {
|
||||
|
@ -70,7 +70,7 @@
|
|||
|
||||
layout: @GUI::VerticalBoxLayout {
|
||||
// FIXME: This is working around the fact that group boxes don't allocate space for their title and border!
|
||||
margins: [10, 20, 10, 10]
|
||||
margins: [20, 10, 10, 10]
|
||||
}
|
||||
|
||||
@GUI::RadioButton {
|
||||
|
@ -133,7 +133,7 @@
|
|||
fixed_height: 40
|
||||
|
||||
layout: @GUI::VerticalBoxLayout {
|
||||
margins: [6, 6, 6, 0]
|
||||
margins: [6, 6, 0, 6]
|
||||
}
|
||||
|
||||
@GUI::Widget {
|
||||
|
@ -165,7 +165,7 @@
|
|||
|
||||
layout: @GUI::VerticalBoxLayout {
|
||||
// FIXME: This is working around the fact that group boxes don't allocate space for their title and border!
|
||||
margins: [10, 20, 10, 10]
|
||||
margins: [20, 10, 10, 10]
|
||||
}
|
||||
|
||||
@GUI::StackWidget {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue