Skip to content

Dialogs don't account for scaled text #15

@Jayonas

Description

@Jayonas

The controls in the Settings dialog (and Salt dialog) look overly crowded on my machine compared to the example in your Readme.

DefaultSettings

In my experience the usual cause of that is when the app isn't correctly accounting for scaled up text on high resolution monitors (on Windows 10 this is in Settings under System => Display).

Screenshot 2022-11-24 191800

Often the UI framework's layout system (e.g. WinForms, WPF) will handle this automatically but sometimes you need to set a flag or something. Usually that's on the app level, though, and the rest of my KeePass interface looks fine, so I'm not sure what's different with your dialogs. Maybe there's just something you need to turn on for them.

Alternatively, if you're doing your own math to layout the controls (and size the dialog) then you might need to fix your math to account for the scaling. There should be some APIs in the UI framework that you can use for that, but it's been long enough that I've forgotten the details, sorry.

Thanks for the cool plugin, I was somehow unaware of the Diceware method before.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions