1
Fork 0
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:
thankyouverycool 2022-02-22 07:20:05 -05:00 committed by Andreas Kling
parent e113e3ccaa
commit 3aa95dd4d5
7 changed files with 159 additions and 80 deletions

View file

@ -106,6 +106,6 @@
@GUI::Statusbar {
name: "statusbar"
label_count: 2
segment_count: 3
}
}