Resizing Button in DG Form
Posted: Wed Aug 07, 2013 10:53 pm
Hello,
I am trying to automatically resize ComboBox Menu buttons based on their formattedHeight. The textSize and margins of the buttons increase with the stack height, and is supposed to refresh on ResizeStack. As you can imagine, the ComboBox Menus are supposed to resize to be proportional, no matter what height the stack is.
However, the buttons are not resizing properly. I have an Option Menu button outside of the DG on the same card, which uses the same method to resize on ResizeStack, and it works fine.
I want to know if there is something funky about ComboBox Menu style buttons that makes them non-responsive to setting the height, or something like that. Or is it perhaps the fact that the ComboBox Menus are in the DG? (I don't believe it's this, because the moment I changed the style of the button outside the DG from an Option Menu to a ComboBox Menu, it started behaving as the buttons inside the DG.
Please let me know if there is some subtle difference that is throwing a wrench into my design.
Thanks!
Phil E.
I am trying to automatically resize ComboBox Menu buttons based on their formattedHeight. The textSize and margins of the buttons increase with the stack height, and is supposed to refresh on ResizeStack. As you can imagine, the ComboBox Menus are supposed to resize to be proportional, no matter what height the stack is.
However, the buttons are not resizing properly. I have an Option Menu button outside of the DG on the same card, which uses the same method to resize on ResizeStack, and it works fine.
I want to know if there is something funky about ComboBox Menu style buttons that makes them non-responsive to setting the height, or something like that. Or is it perhaps the fact that the ComboBox Menus are in the DG? (I don't believe it's this, because the moment I changed the style of the button outside the DG from an Option Menu to a ComboBox Menu, it started behaving as the buttons inside the DG.
Please let me know if there is some subtle difference that is throwing a wrench into my design.
Thanks!
Phil E.