mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 12:49:19 +00:00
LibGUI: TabWidget add vertical tabs
Add vertical tabs to TabWidget, this can be set using the ```TabWidget::set_tab_position``` function or in the GML
This commit is contained in:
parent
8a7876d65c
commit
5b82bd719e
Notes:
sideshowbarker
2024-07-17 10:44:19 +09:00
Author: https://github.com/cammo1123 🔰
Commit: 5b82bd719e
Pull-request: https://github.com/SerenityOS/serenity/pull/14019
Reviewed-by: https://github.com/AtkinsSJ ✅
7 changed files with 155 additions and 88 deletions
|
@ -34,4 +34,5 @@ Defines a GUI tab widget.
|
|||
| show_close_buttons | bool | true or false | Show a close button on each tab |
|
||||
| show_tab_bar | bool | true or false | Whether to display the tabs |
|
||||
| text_alignment | text_alignment | Center, CenterLeft, CenterRight, TopLeft, TopRight, BottomLeft, BottomRight | Set the alignment of tab text |
|
||||
| tab_position | tab_position | Top, Bottom, Left, Right | Set the tab position |
|
||||
| uniform_tabs | bool | true or false | Give all tabs the same width |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue