mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:37:35 +00:00
LibGUI+Apps: Convert Statusbar Labels to Segments
Segments inherit from Button and let us add clickable widgets to status bars. This patch also adds proportional, fixed and autosized modes for segments and lets the status bar consume all non-clickable segments for override text.
This commit is contained in:
parent
e113e3ccaa
commit
3aa95dd4d5
7 changed files with 159 additions and 80 deletions
|
@ -106,6 +106,6 @@
|
|||
|
||||
@GUI::Statusbar {
|
||||
name: "statusbar"
|
||||
label_count: 2
|
||||
segment_count: 3
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue