Increase width of bandwidth and frequency indicators - #543
Conversation
Avoid indicator positions shifting when displaying different values.
danirabbit
left a comment
There was a problem hiding this comment.
Instead of doing this we should use tabular numbers. There's a built-in style class for it in Granite https://github.com/elementary/granite/blob/c4f258db9b6028c8b793f01d2f8248800726ce0a/lib/Constants.vala#L269
I'm unable to get this working. Seems to need to set I've done the following in my local changes:
The labels still resize depending on the unit text length like "bytes" or "MB" and the numbers don't seem to appear monospace, what am I missing? Halp! |
|
I wonder if it's just OS9 being OS9 (something missing in the daily build) at the moment? Let me try real quick on my OS8 daily installation. |
Ah nevermind, it needs OS9 wingpanel-9 lib, so my status is still: Halp! |
|
@vjr search for tabular number in the codevase. I think I've used them in the statusbar widget. |
|
You don't need to use Granite 9 (and shouldn't yet!). This feature is available since Granite 7.7.0 |
Avoid indicator positions shifting when displaying different values.