scales the statusbar correctly according to monitor scale (#90796)

## About The Pull Request
the statusbar wasn't resizing like the rest of the ui now does

## Why It's Good For The Game
it does that now, which is neat

4k 200% scale
before:

![d9Keu55RLONuy4rw@2x](https://github.com/user-attachments/assets/15640fd0-f1aa-441e-b34f-ecae43d7d016)

after:

![sfYXv5hzIqjqTCTH@2x](https://github.com/user-attachments/assets/f6e5e8b9-2de4-4db4-b185-c7b15f1b9fba)

1920x1200 100% scale
before:

![SHMbuQ5PQqyF5qHA@2x](https://github.com/user-attachments/assets/dad012ab-3bca-4307-b9b0-80ea862135a8)

after:

![BYMNAvY00lec0qir@2x](https://github.com/user-attachments/assets/0bfb8ff6-e2b4-4c34-8c22-e74ab5d65953)

## Changelog
🆑
qol: the statusbar at the bottom left now properly scales with your
display
/🆑

---------

Co-authored-by: harryob <55142896+harryob@users.noreply.github.com>
This commit is contained in:
harry
2025-04-25 16:16:44 +01:00
committed by GitHub
parent a8a41f8781
commit 61074c6b24
2 changed files with 5 additions and 4 deletions

View File

@@ -127,10 +127,10 @@ window "mapwindow"
style = ".center { text-align: center; } .maptext { font-family: 'Grand9K Pixel'; font-size: 6pt; -dm-text-outline: 1px black; color: white; line-height: 1.0; } .command_headset { font-weight: bold; } .context { font-family: 'Pixellari'; font-size: 12pt; -dm-text-outline: 1px black; } .subcontext { font-family: 'TinyUnicode'; font-size: 12pt; line-height: 0.75; } .small { font-family: 'Spess Font'; font-size: 6pt; line-height: 1.4; } .big { font-family: 'Pixellari'; font-size: 12pt; } .reallybig { font-size: 12pt; } .extremelybig { font-size: 12pt; } .greentext { color: #00FF00; font-size: 6pt; } .redtext { color: #FF0000; font-size: 6pt; } .clown { color: #FF69BF; font-weight: bold; } .his_grace { color: #15D512; } .hypnophrase { color: #0d0d0d; font-weight: bold; } .yell { font-weight: bold; } .italics { font-family: 'Spess Font'; font-size: 6pt; line-height: 1.4; }"
elem "status_bar"
type = LABEL
pos = 0,464
size = 280x16
anchor1 = 0,100
anchor2 = -1,-1
pos = 0,470
size = 128x10
anchor1 = 0,99
anchor2 = 20,100
text-color = #ffffff
background-color = #222222
border = line