Re: [Lazarus] Package -> New Component ...

2018-09-28 Thread Juha Manninen via Lazarus
On Fri, Sep 28, 2018 at 12:34 PM Werner Pamler via Lazarus wrote: > Playing with the "New component" dialog a bit more I noticed that it is > possible to select a 32x32 image although the 24x24 button has been > pressed. My first thoughts were: Shouldn't the routine check for the > image size?

Re: [Lazarus] Package -> New Component ...

2018-09-28 Thread Juha Manninen via Lazarus
One more issue: Are the labels 'Icon 24x24:', 'Icon 36x36:' and 'Icon 48x48:' good or should they mention the percentages 150% and 200%? I have the resizable button code ready and will comit it soon. Juha -- ___ Lazarus mailing list

Re: [Lazarus] Package -> New Component ...

2018-09-27 Thread Werner Pamler via Lazarus
Am 27.09.2018 um 17:10 schrieb Juha Manninen via Lazarus: Do the icons work OK in component palette after a component got installed? Yes, I tested on a VM with 150% resolution, and the icon of the newly created test component looked as crisp as the others. --

Re: [Lazarus] Package -> New Component ...

2018-09-27 Thread Juha Manninen via Lazarus
On Thu, Sep 27, 2018 at 3:19 PM Werner Pamler via Lazarus wrote: > Once all images are loaded into the dialog the 32x32 and 48x48 images > are truncated because the three buttons have the same size. Wouldn't it > be better to adapt the size of the buttons to the size of the images, or > make the

Re: [Lazarus] Package -> New Component ...

2018-09-27 Thread Werner Pamler via Lazarus
Once all images are loaded into the dialog the 32x32 and 48x48 images are truncated because the three buttons have the same size. Wouldn't it be better to adapt the size of the buttons to the size of the images, or make the buttons as large as the largest image so that truncating is avoided?

Re: [Lazarus] Package -> New Component ...

2018-09-27 Thread Juha Manninen via Lazarus
On Thu, Sep 27, 2018 at 2:13 AM Maxim Ganetsky via Lazarus wrote: > Hurrying and rushing features at the last moment is never good. Chances > are the dialog will have regressions and it may turn out that further > significant rework will be needed. In general that is true. However my changes

Re: [Lazarus] Package -> New Component ...

2018-09-26 Thread Maxim Ganetsky via Lazarus
26.09.2018 21:08, Juha Manninen via Lazarus пишет: I try to hurry this up because a new book about Lazarus will have a chapter about this New Component feature and the old dialog was badly outdated. The HighDPI support with multi-resolution icons is a major new feature in Lazarus / LCL after

[Lazarus] Package -> New Component ...

2018-09-26 Thread Juha Manninen via Lazarus
Hello I improved the New Component feature and its GUI in r59170. Now it accepts 3 icons for different resolutions. The higher resolution icons will be picked automatically if their file names have '_150' and '_200' suffix. They can be selected manually, too. Parts of the GUI were dummy. For