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?
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
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.
--
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
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?
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
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
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