|
|
I am not entirely sure I understand. Labels can be inside or outside the widget box (inside makes little sense on Fl_Input. They can be aligned around the box in 12 positions, top-left, top-cent, -top-right, right-top, right-center, etc. . They don't "see" what other widget are doing inside the same group. If you need more flexibility, it's probably best to have no label on your Fl_Input and instead position an Fl_Box with the label text next to the input. You can of course set the box's boxtype to FLAT_BOX to make it look like a regular label.
Lastly, you can use FLUID to do all this visually if you like. The FLUID alignment hints may be very helpful here.
sups...@gmail.com schrieb am Donnerstag, 11. April 2024 um 00:15:23 UTC+2:
Let's say I have a Fl_Input with an external label "Input". How can I align the widget such that the labels are aligned with other widgets, rather than just the box?
--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/3459db45-0287-4707-9ef9-23e8611ae42fn%40googlegroups.com.
[ Direct Link to Message ] | |
|
| |