Four Js Development Tools Forum

Discussions by product => Genero BDL => Topic started by: Andrew C. on September 02, 2009, 03:38:12 am



Title: ActionPanelHAlign = center not working?
Post by: Andrew C. on September 02, 2009, 03:38:12 am
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>


Title: Re: ActionPanelHAlign = center not working?
Post by: Andrew C. on September 02, 2009, 03:46:18 am
Dang - forgot to name the versions

BDL 2.11.05 build 1169.85
GDC 2.11.05 build 658.25


Title: Re: ActionPanelHAlign = center not working?
Post by: Reuben B. on September 02, 2009, 11:28:37 pm
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