-
-
Notifications
You must be signed in to change notification settings - Fork 345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix GUI layout issues with scaling #4316
base: master
Are you sure you want to change the base?
Conversation
Easy test build link here: @linuxgurugamer, could you please try that build and check whether it helps at all with #4308? @spirritus, could you please try that build and check whether it helps at all with #4271? @pablogila, could you please try that build and check whether it helps at all with #878? |
But this is the windows build, the #878 had problems in the linux one... |
@pablogila, there is no "Linux build", it's the same exe file on all platforms. Just run it with Mono. |
Well I'm afraid I don't know what Mono is. I just followed the CKAN install instructions for Linux |
|
25b0385
to
b60fe08
Compare
c0e2e92
to
a9765c5
Compare
@HebaruSan I confirm that the problem persists, the GUI is also tiny using the Mono version that you provided before. |
Darn, oh well. Thanks for taking a look. |
Problems
suppress_recommendations
on a relationship (typically in a modpack), that mod's recommendations and suggestions aren't shown, but its supported-by mods still are.Causes
supports
relationships are handled differently from recommendations and suggestions in a way that requires a separate solution to suppression, which wasn't done previously.OnHover
event. Maybe this causes a delay while you're clicking (not 100% certain about this, but it's the lowest hanging fruit to try first).Changes
AutoScaleDimensions
andAutoScaleMode
in most dialogs and controls to enable automatic scaling. In addition, some layout is re-worked to use docking instead of anchoring.Does not address Font Rescaling #878.Fixes [Bug]: UI Scaling on Linux (KDE) partially broken #4271 (maybe, needs confirmation).
supress_recommendations
also applies tosupports
relationships (requested by @JonnyOThan on Discord).OnOpen
event rather than inMouseHover
, so it should be less disruptive to usage of that button.Fixes [Bug]: Clicking quickly on Play button doesn't play game #4308 (maybe, needs confirmation).
SingleAssemblyResourceManager
in CmdLine, ConsoleUI, and GUI are removed and replaced by re-using the one in Core.LeftRightRowPanel
now forces each half to be 50% to work around some weird quirks of Mono's layout logic.ErrorDialog
now invokes the GUI thread using a reference to the main form instead of itself, which fixes a crash I noticed during development.