Hi,
How can i force an option set (with 3 vertically-placed radio buttons with their related text) to the top? I can set the ItemAppearance->TextVAlign property to 'Top', but this moves the text and not the actual radio buttons. There must be some property or allignment option to align the radio buttons as well ?!?
Thanks.
Hi Brad,
I'm not sure I understand the question. As far as I know, the Radio buttons are laid out in a snaking fashion from left to right. So they always start at the top of the control and go to the right and down. There is no way to change the alignment.
Well, the option set is in a rectangle, and you can drag and re-size the rectangle and design-time, right? So i just play with the resizing such that i make the rectangle thin and the items automatically move to the left and under each other.
Now, this works fine, but I wanted some spacing between each of the 3 items, so i set the 'ItemSpacingVerticle' property to 30; which again works fine. But there is a gap between the top of the rectangle and the first radio button entry. Now, I can set the ItemAppearance->TextVAlign property to 'Top', but this moves the text only to the top and not the actual radio buttons. This means that the radio buttons and the related text are not alligned. I'm after a way to move the radio button to the top as well.
Oh, I see. So the problem problem is that the ItemSpacingVertical also adds space above the first item. Unfortunately, there is no way to alter that behavior. Or at least no easy way.
If you really wanted to put some time into it, you could probably acheive what you want using a CreationFilter to move the UIElements around inside the control.