I’m having a problem getting an <HBox> to layout a rotated <Label>
I’ve tried all sorts of combinations of maxWidth/Height, measuredWidth/Height with no luck. I’d appreciate it if you would comment with an explanation or point me to a resource that explains how this can be fixed.
Here’s the gist of the code below or you can view source to see everything.
Here’s a similar version with borderStyles set to inset so that you can see the containers. In this example I put each Label inside an HBox and rotated the HBox.
@Mister, You know, I should have made an image, or used Canvas, to show exactly what I was looking for. I'd like them to all show up in their current layout but right next to each other – no horizontal space between them.
@jjd, Good thinking. That will work. It isn't a perfect solution because in my design not everything in the container is rotated but I can work around that. Thanks.
About polyGeek Birthplace: Bisbee, AZ - 1967 Measurements: 3 monitor, Intel Core i7-860 2.80GHz, 8GB RAM ( ooo-la-la ) Ambitions: Make enough money to retire to Mars and have fun doing it. Turn-ons: BitmapData, Generative Art, non-linear dynamics, working on personal projects Turnoffs: Closed minded, closed systems such as Apple/Steve Jobs Hobbies: Writing sci-fi, long walks Favorite Authors: Douglas Adams, A.C. Clark, Azimov, J.R.R. Tolkien Favorite Musicians: Peter Gabriel, Hans Zimmer, Pink Floyd, Massive Attack Favorite TV Shows: Star Trek.*, FireFly, Farscape