Recent

Author Topic: Space between TSpeedButton components  (Read 3398 times)

Milsa

  • Sr. Member
  • ****
  • Posts: 309
Space between TSpeedButton components
« on: February 28, 2015, 11:12:10 pm »
How can I insert space between these components (component groups)?

For example, Lazarus IDE using vertical lines to separate SpeedButton groups.

Please help me.
I work with Lazarus 2.2.2, FPC 3.2.2, date 2022-05-15
This information is actual to: 28st Dec 2022

Bart

  • Hero Member
  • *****
  • Posts: 5290
    • Bart en Mariska's Webstek
Re: Space between TSpeedButton components
« Reply #1 on: February 28, 2015, 11:45:45 pm »
Use a ToolBar, you can insert dividers and separator (add a button and set it's Style roperty to tbsDivider or tbsSeparator).

Bart

Blaazen

  • Hero Member
  • *****
  • Posts: 3241
  • POKE 54296,15
    • Eye-Candy Controls
Re: Space between TSpeedButton components
« Reply #2 on: February 28, 2015, 11:56:41 pm »
If you don't want to use TToolBar, you can use property BorderSpacing.Left/Right of the buttons or you can anchor narrow TBevel (Shape = bsLeftLine or bsRightLine) between buttons.
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

Milsa

  • Sr. Member
  • ****
  • Posts: 309
Re: Space between TSpeedButton components
« Reply #3 on: March 01, 2015, 06:43:29 pm »
I am usning TToolBar and TSpeedButtons.

I don't see property Style in Object Inspector.
I work with Lazarus 2.2.2, FPC 3.2.2, date 2022-05-15
This information is actual to: 28st Dec 2022

Blaazen

  • Hero Member
  • *****
  • Posts: 3241
  • POKE 54296,15
    • Eye-Candy Controls
Re: Space between TSpeedButton components
« Reply #4 on: March 01, 2015, 07:10:23 pm »
TSpeedBtn has not this property. TToolBar is designed to be used with TToolBtn. TToolBtn is not on component palette. You can add it by right-click on toolbar and select "New Buttton" etc. TToolBtn has property Style. All Button, Divider and Separator are TToolBtn with different Style.
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

 

TinyPortal © 2005-2018