1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 07:07:44 +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:
Andreas Kling 2021-06-15 14:28:39 +02:00
parent 46a7e1b372
commit a1eadc755d
3 changed files with 20 additions and 17 deletions

View file

@ -12,7 +12,7 @@
@GUI::TabWidget {
name: "tab_widget"
container_padding: 0
container_margins: [0, 0, 0, 0]
uniform_tabs: true
text_alignment: "CenterLeft"
}