Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: ActionPanelHAlign = center not working?  (Read 9761 times)
Andrew C.
Posts: 48


« 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>
Andrew C.
Posts: 48


« Reply #1 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
Reuben B.
Four Js
Posts: 1047


« Reply #2 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 

Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines