summaryrefslogtreecommitdiff
path: root/Userland/Applications
diff options
context:
space:
mode:
authorthankyouverycool <66646555+thankyouverycool@users.noreply.github.com>2022-02-22 07:20:05 -0500
committerAndreas Kling <kling@serenityos.org>2022-02-24 19:09:41 +0100
commit3aa95dd4d5be91898d912a39c97a432b05c6f401 (patch)
treed80c708e1a13cee959ea14ca49567790de4c94a6 /Userland/Applications
parente113e3ccaa7066b1f1ff9b18e3df05c21fdbc62e (diff)
downloadserenity-3aa95dd4d5be91898d912a39c97a432b05c6f401.zip
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.
Diffstat (limited to 'Userland/Applications')
-rw-r--r--Userland/Applications/HexEditor/GoToOffsetDialog.gml2
-rw-r--r--Userland/Applications/HexEditor/HexEditorWindow.gml2
-rw-r--r--Userland/Applications/TextEditor/TextEditorWindow.gml2
3 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Applications/HexEditor/GoToOffsetDialog.gml b/Userland/Applications/HexEditor/GoToOffsetDialog.gml
index cfd7d9495f..9504757f94 100644
--- a/Userland/Applications/HexEditor/GoToOffsetDialog.gml
+++ b/Userland/Applications/HexEditor/GoToOffsetDialog.gml
@@ -57,6 +57,6 @@
@GUI::Statusbar {
name: "statusbar"
- label_count: 2
+ segment_count: 2
}
}
diff --git a/Userland/Applications/HexEditor/HexEditorWindow.gml b/Userland/Applications/HexEditor/HexEditorWindow.gml
index 4a7d4e0935..10a271af1b 100644
--- a/Userland/Applications/HexEditor/HexEditorWindow.gml
+++ b/Userland/Applications/HexEditor/HexEditorWindow.gml
@@ -31,6 +31,6 @@
@GUI::Statusbar {
name: "statusbar"
- label_count: 5
+ segment_count: 5
}
}
diff --git a/Userland/Applications/TextEditor/TextEditorWindow.gml b/Userland/Applications/TextEditor/TextEditorWindow.gml
index 3f567a9a47..b8556df9a8 100644
--- a/Userland/Applications/TextEditor/TextEditorWindow.gml
+++ b/Userland/Applications/TextEditor/TextEditorWindow.gml
@@ -106,6 +106,6 @@
@GUI::Statusbar {
name: "statusbar"
- label_count: 2
+ segment_count: 3
}
}