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] IDE Restriction Browser layout patch

2018-10-19 Thread Juha Manninen via Lazarus
On Fri, Oct 19, 2018 at 8:55 AM AlexeyT via Lazarus wrote: > Patch adds BorderSpacing (6) for 3 main controls on the form. Applied in r59326. Thanks. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org

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