On Feb 15, 2006, at 10:29 AM, William Krick wrote:
Is there some way to align a text label with a control?
The example below shows all the things I tried, the only one that
works is
explicitly setting the "y" on the label.
Hardcoding numbers for alignment just seems wrong.
Is there something I'm missing?
Nope, you're not missing anything, I don't think.
Hardcoding y values is the way to get the exact look you want. What
looks "right" is sometimes when the baselines of text are aligned, or
sometimes when the top of the text is aligned with the top of the
control. "Align baselines" isn't a concept that OpenLaszlo supports,
so you might want to codify the proper y relationships by making a
class that combines the combobox and the label.
benjamin shine
software engineer
[EMAIL PROTECTED]
_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user