Custom style child windows are scrollable on HiDPI screens #30

Closed
opened 2023-01-23 17:08:11 +01:00 by williamjcm · 2 comments
Owner

Good ol' hardcoded values.

I'll have to make a pass over the whole UI and remove as many of those as possible, or at least make them scale with the DPI scaling factor too.

Good ol' hardcoded values. I'll have to make a pass over the whole UI and remove as many of those as possible, or at least make them scale with the DPI scaling factor too.
williamjcm added this to the v1.5.0 milestone 2023-01-23 17:08:11 +01:00
williamjcm added the
bug
label 2023-01-23 17:08:11 +01:00
williamjcm self-assigned this 2023-01-23 17:08:11 +01:00
Author
Owner

Been trying to solve this issue, and it looks like doing a dumb hardcoded_value * dpiScaling().axis() isn't the right way of going about it, especially since I use a lot of ImGui child windows with menu bars and those count in the size calculation.

Ah, if only child windows didn't try to take the rest of the free space in their parent...

Might have to use tables in some places, to be honest.

Been trying to solve this issue, and it looks like doing a dumb `hardcoded_value * dpiScaling().axis()` isn't the right way of going about it, especially since I use a lot of ImGui child windows with menu bars and those count in the size calculation. Ah, if only child windows didn't try to take the rest of the free space in their parent... Might have to use tables in some places, to be honest.
Author
Owner

I was approaching the problem in the wrong way, and also fixed all other UI elements that had issues on HiDPI screens. I hope.

I was approaching the problem in the wrong way, and also fixed all other UI elements that had issues on HiDPI screens. I hope.
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: williamjcm/MassBuilderSaveTool#30
No description provided.