mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 11:07:46 +00:00
LibGUI: Allow tweaking each edge of TabWidget's content margins
Instead of having a single uniform margin around the child content of a TabWidget, use a GUI::Margins to allow individual per-edge margins.
This commit is contained in:
parent
46a7e1b372
commit
a1eadc755d
3 changed files with 20 additions and 17 deletions
|
@ -12,7 +12,7 @@
|
|||
|
||||
@GUI::TabWidget {
|
||||
name: "tab_widget"
|
||||
container_padding: 0
|
||||
container_margins: [0, 0, 0, 0]
|
||||
uniform_tabs: true
|
||||
text_alignment: "CenterLeft"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue