Page 2 of 2

Re: IDE and Icon bar on 4K monitor

Posted: Tue Nov 02, 2021 10:14 pm
by thyphoon
to update Toolbar to be compatible 4K DPI aware we must to update ToolbarManagement.pb in Purebasic IDE Source.
But it's more complex than as think 😅
May be replace Toolbar with simple Gadget button 🤔

Re: IDE and Icon bar on 4K monitor

Posted: Wed Nov 03, 2021 1:15 am
by chi
thyphoon wrote: Tue Nov 02, 2021 10:14 pm to update Toolbar to be compatible 4K DPI aware we must to update ToolbarManagement.pb in Purebasic IDE Source.
But it's more complex than as think 😅
May be replace Toolbar with simple Gadget button 🤔
What exactly is the problem? All we have to do is to resize the icons of the toolbar. I made an automated DPI scaling system a few years back and it can handle scaling icons pretty well. Not perfect, but everything is better than those mini icons :)

Image

If you want to test DPIAware.pbi you should change the last param of CreateToolBar (Line 929) from 34 to 0 and the icons scale automatically. Change dpi_DebugUIscale (Line 906) to any scale you want (and run with Debugger enabled).

Re: IDE and Icon bar on 4K monitor

Posted: Wed Nov 03, 2021 1:43 am
by Rinzwind
Should be fixed in the gadget library, incl multi monitor dpi awareness.