Skip to content

Scaling and text sizes#3037

Merged
briaguya0 merged 1 commit intoHarbourMasters:developfrom
Malkierian:ui-scaling
Nov 6, 2023
Merged

Scaling and text sizes#3037
briaguya0 merged 1 commit intoHarbourMasters:developfrom
Malkierian:ui-scaling

Conversation

@Malkierian
Copy link
Contributor

@Malkierian Malkierian commented Jun 24, 2023

Add ImGui scaling slider. Values between 100% and 150% exhibit the weird expanding slider glitch known on Switch and WiiU. Another known issue is with padding values not scaling properly with multiple changes to the scale factor in a row. Restarting SoH fixes them.

Also adds multiple font sizes that can be used concurrently. 1 smaller than default, 2 larger. Total memory usage was only increased by about 12MB.

Build Artifacts

@Malkierian Malkierian marked this pull request as ready for review June 24, 2023 21:09
Copy link
Contributor

@leggettc18 leggettc18 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I could be wrong, but I don't think I'm seeing anyway to switch between the font sizes? Or am I misunderstanding something?

@leggettc18 leggettc18 added this to the MacReady milestone Jun 28, 2023
@Malkierian
Copy link
Contributor Author

The additional font sizes were meant more as an availability thing for future programming, not as a user-changeable thing. If it's desired, I could probably figure out some level of automated switching based on the scale, but I don't know that we would want it manually selectable on the user's side.

@briaguya0 briaguya0 merged commit 8745881 into HarbourMasters:develop Nov 6, 2023
@Malkierian Malkierian deleted the ui-scaling branch November 6, 2023 02:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants