I have a style shown below; when I set ActionPanelHAlign to "right", the buttons are pushed to the right. Any other string I try (including the documented "center") causes it to left-align.
Is this a bug or something I'm missing?
<Style name="Window.apopup">
<StyleAttribute name="windowType" value="modal"/>
<StyleAttribute name="backgroundColor" value="background"/>
<StyleAttribute name="statusBarType" value="none"/>
<StyleAttribute name="startMenuPosition" value="none"/>
<StyleAttribute name="actionPanelPosition" value="bottom"/>
<StyleAttribute name="actionPanelButtonSize" value="medium"/>
<StyleAttribute name="actionPanelHAlign" value="center"/>
<StyleAttribute name="forceDefaultSettings" value="1"/>
<StyleAttribute name="position" value="center"/>
<StyleAttribute name="ringMenuPosition" value="none"/>
<StyleAttribute name="toolBarPosition" value="none"/>
<StyleAttribute name="sizable" value="no"/>
</Style>
Dang - forgot to name the versions
BDL 2.11.05 build 1169.85
GDC 2.11.05 build 658.25
After some investigation, what was stopping the ActionPanelHAlign=center working was the value of the ringMenuPosition attribute. A ringMenuPosition value of top, bottom, or none was preventing the ActionPanelHAlign=center from working, a value of right, left and ActionPanelHAlign=center would be OK.
This was only in GDC 2.11, GDC 2.20 is OK. For future reference, refer to Bz 14401