<p style="padding:0 0 0 0; margin:0 0 0 0;">AFAIK in Lazarus dialogs is often used component TButtonPanel (Misc palette) with OK, Cancel, Close and Help buttons. These buttons are autosized with Constraints.MinWidth:=DefButtonSize.cx; (this value is taken from Themes: DefButtonSize := ThemeServices.GetDetailSize(Details); it is 75 <span style="font-size: 10pt;">on Qt</span><span style="font-size: 10pt;">).</span></p>
<p style="padding:0 0 0 0; margin:0 0 0 0;"> </p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">V.</p>
<p style="padding:0 0 0 0; margin:0 0 0 0;">______________________________________________________________<br />
> Od: C Western via Lazarus <lazarus@lists.lazarus-ide.org><br />
> Komu: Lazarus mailing list <lazarus@lists.lazarus-ide.org><br />
> Datum: 06.02.2017 09:49<br />
> Předmět: Re: [Lazarus] IDE Component-dialog: small button<br />
></p>
On 06/02/17 02:28, wkitty42--- via Lazarus wrote:<br />
> On 02/05/2017 07:41 PM, Alexey via Lazarus wrote:<br />
>> In this dialog, button Use is too narrow. Can i make diff, to make it<br />
>> wide, e.g.<br />
>> 80pix?<br />
><br />
> ummm, it looks plenty big enough... all of the letters show with no<br />
> clipping on either side... what am i missing??<br />
><br />
It looks like a button that has been autosized; I must admit my feeling <br />
is that autosized buttons should have a minimum width, something like <br />
the width of a "Cancel" button, say. The general GUI convention seems to <br />
be to have all buttons of similar sizes, and the lazarus autosize <br />
algorithm produces buttons that can often look on the small side <br />
compared to most programs. Turning off autosizing is a bad idea because <br />
of the variety of system fonts.<br />
<br />
Colin<br />
-- <br />
_______________________________________________<br />
Lazarus mailing list<br />
Lazarus@lists.lazarus-ide.org<br />
<a href="http://lists.lazarus-ide.org/listinfo/lazarus">http://lists.lazarus-ide.org/listinfo/lazarus</a><br />