Recent

Author Topic: checkbox caption's position  (Read 979 times)

mas steindorff

  • Hero Member
  • *****
  • Posts: 553
checkbox caption's position
« on: May 29, 2024, 09:54:05 pm »
I'm creating an adjustable GUI where I have 16 checkboxes that can dynamically be aligned either vertical or horizonal.  I know I can select the side I wish the caption to appear on with the .alignment field but is there a way to center the text on top of the checkbox?
 
just checking before I recreate my own TCheckbox.
Mas
--- edit ---
just read the checkbox is a OS widget so I'll go with my original plan...
a Tframe  with a Tcheckbox and a separate Tlabel. Then I'll either hide the label and use the caption or hide the caption and show the label on top of the checkbox based on my own code. 
thanks for reading.
« Last Edit: May 30, 2024, 10:23:45 pm by mas steindorff »
windows 10 &11, Ubuntu 21+ IDE 3.4 general releases

 

TinyPortal © 2005-2018