[Lazarus] Toolbar buttons with caption on right

Howard Page-Clark hdpc at talktalk.net
Thu Oct 4 14:16:33 CEST 2012


On 04/10/12 11:27, Graeme Geldenhuys wrote:

> How do I get the toolbar button captions to appear on the right of the
> button image? When I enable ShowCaptions, they always appear below the
> images. What I want, is like what can be seen in a Delphi app - see
> attached screenshots.
If you use TSpeedButton, just set button.Layout:= blGlyphLeft
and button.ShowCaption:= True;

> Also, how to I centre the image in the toolbar button height? As you can
> see from the Lazarus screenshot, the images appear in the top/left of
> the button.

On Windows they are automatically centred. Is this a GTK oddity?





More information about the Lazarus mailing list