Hi,

I've created a menu with an option that has an image a little wider than
usual.
The text overlaps with the image.
How can I move the text to the right?

Here are the relevant appearances:

    "menu" :
    {
      style : function(states)
      {
        return {
          backgroundColor : "menu",
          border          : "general",
          padding         : 1
          //backgroundImage : "widget/gradient/menu-background.png"
        };
      }
    },

    "menu-button" :
    {
      style : function(states)
      {
        return {
          minWidth              : "auto",
          height                : "auto",
          spacing               : 2,
          padding               : [ 2, 4 ],
          verticalChildrenAlign : "middle",
          backgroundColor       : states.over ? "selected" : "undefined",
          textColor             : states.over ? "text-selected" :
"undefined"
        };
      }
    },

Any hint will be greatly appreciated.

David
-- 
View this message in context: 
http://www.nabble.com/Menu-icon-overlaps-tf3946614.html#a11195404
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to