Toolbar with right-aligned buttons?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #34860
    ralfiii
    Participant

    Hello!

    Does the TsToolbar-Component provide a property to have the buttons right-aligned in the toolbar?

    Thanks,

    Ralf

    #47051
    Hamilton
    Participant

    Not that I'm aware, though Serge would give you the definite answer. In my experience, Delphi toolbars are really lacking in important features and if you want to have anything other than a standard left aligned toolbar then you're better off doing something custom – for instance, in almost all my apps I use TsBitBtns on a TsPanel, that way I have full control over the buttons. The only caveat I'd add to that is that for my apps I make sure that TsBitBtns use the TOOLBUTTON skin section (SkinData.SkinSection := 'TOOLBUTTON';). Best of luck.

    Regards,

    Hamilton

    #47062
    ralfiii
    Participant

    ok, thanks!

    ralf

    #47068
    Support
    Keymaster

    I'm using TsSpeedButtons on TsPanel in such cases.

    Code:
    TsSpeedButton.SkinData.SkinSection := 'TOOLBUTTON'
    TsPanel.SkinData.SkinSection := 'TOOLBAR'
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.