IDE and Icon bar on 4K monitor

Working on new editor enhancements?
User avatar
thyphoon
Enthusiast
Enthusiast
Posts: 327
Joined: Sat Dec 25, 2004 2:37 pm

Re: IDE and Icon bar on 4K monitor

Post 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 🤔
User avatar
chi
Addict
Addict
Posts: 1028
Joined: Sat May 05, 2007 5:31 pm
Location: Linz, Austria

Re: IDE and Icon bar on 4K monitor

Post 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).
Et cetera is my worst enemy
Rinzwind
Enthusiast
Enthusiast
Posts: 636
Joined: Wed Mar 11, 2009 4:06 pm
Location: NL

Re: IDE and Icon bar on 4K monitor

Post by Rinzwind »

Should be fixed in the gadget library, incl multi monitor dpi awareness.
Post Reply