Re: [Lazarus] Scaling of menuitem icons

2018-10-19 Thread Juha Manninen via Lazarus
On Fri, Oct 19, 2018 at 11:16 AM Ondrej Pokorny via Lazarus wrote: > Your settings revealed a bug in Gtk2 bindings. Patch is attached. Applied in r59325. It works now with GTK2. Very nice, thanks! Juha -- ___ Lazarus mailing list

Re: [Lazarus] Scaling of menuitem icons

2018-10-19 Thread zeljko via Lazarus
On 10/19/2018 11:46 AM, Ondrej Pokorny wrote: On 19.10.2018 11:43, zeljko wrote: QProxyStyle can return any size for PM_SmallIconSize, but in that case we should know what's the current size of "normal" icons in LCL. The current size of "normal" icons in LCL is perfectly known, as well as

Re: [Lazarus] Scaling of menuitem icons

2018-10-19 Thread Ondrej Pokorny via Lazarus
On 19.10.2018 11:43, zeljko wrote: QProxyStyle can return any size for PM_SmallIconSize, but in that case we should know what's the current size of "normal" icons in LCL. The current size of "normal" icons in LCL is perfectly known, as well as the size of any menu icon in LCL. Call the

Re: [Lazarus] Scaling of menuitem icons

2018-10-19 Thread zeljko via Lazarus
On 10/19/2018 10:15 AM, Ondrej Pokorny via Lazarus wrote: >  On my Linux + KDE system however icons of the IDE's main menuitems do not scale. > In KDE settings panel -> Fonts I set the "Force font's DPI" value to 144 which is about 150%. I remember I worked on it: 1.) Gtk2: I added support

Re: [Lazarus] Scaling of menuitem icons

2018-10-19 Thread Ondrej Pokorny via Lazarus
>  On my Linux + KDE system however icons of the IDE's main menuitems do not scale. > In KDE settings panel -> Fonts I set the "Force font's DPI" value to 144 which is about 150%. I remember I worked on it: 1.) Gtk2: I added support for Gtk2. See screenshot. It works well for me if I use

Re: [Lazarus] Scaling of menuitem icons

2018-10-14 Thread Martin Schreiber via Lazarus
On Saturday 13 October 2018 22:08:59 Juha Manninen via Lazarus wrote: > > I wanted to take a screenshot but the IDE's menus always close when > Spectacle (screeshot app) takes it. Do you use a delay? https://userbase.kde.org/Spectacle#Screenshot_delay Martin --

[Lazarus] Scaling of menuitem icons

2018-10-13 Thread Juha Manninen via Lazarus
Hi When higher DPI setting is used on Windows, Lazarus IDE appears to obey nicely. All icons are also scaled, together with texts. On my Linux + KDE system however icons of the IDE's main menuitems do not scale. In KDE settings panel -> Fonts I set the "Force font's DPI" value to 144 which is