saltycog / ffxiv-startup-commands

FFXIV (Dalamud) plugin for running commands immediately upon character login.
8 stars 1 forks source link

UI elements cut off when "Global Font Scale" is > 12.0pt #2

Open ryankhart opened 2 years ago

ryankhart commented 2 years ago

I play on either a 1440p or 4K display, each of which as a much higher pixel density than a usual 1080p monitor, so I need to have larger fonts and UI scaling on literally every game I play. Unfortunately, for Dalamud, it's not a UI scale but a font scale, so it doesn't proportionally increase the size of the UI along with the font size. That causes issues like these in this screenshot on some select plugins I have.

image

It's not game breaking, especially for a set it and forget it type of plugin, but I thought I'd report this issue anyway.

ryankhart commented 2 years ago

If I were to take a guess, as a budding plugin developer who has so far only contributed to other people's plugins, that this line right here is the reason for the fixed window height. https://github.com/saltycog/ffxiv-startup-commands/blob/0e3924a7d50e8fd3003d5e2702b9b3f429aa64d3/StartupCommandsPlugin/UI/ConfigWindow.cs#L22

Edit: Nevermind. It turns out it's more complex than that. I'm diving into the code now to learn it for the first time.