Hi folks,

this is a great community, thank you!

I have (probably) a bug with computing the Label Position in Menus. It's 20,
no matter what image size is used for the icon. So the Label is rendered
over instead beneath the icon. Look at this:

        var doc = qx.ui.core.ClientDocument.getInstance();
        
        var sub_menu = new qx.ui.menu.Menu;
    var sub_menu_button = new qx.ui.menu.MenuButton("label over image",
"../resource/icon/nuvola/32/button-ok.png");
        sub_menu.add(sub_menu_button);
                
    var main_menu = new qx.ui.toolbar.ToolBar;
        main_menu.set({ width:"auto", height:"auto", top:50 });
    var main_menu_button = new qx.ui.toolbar.ToolBarMenuButton("open me",
sub_menu);
        main_menu.add(main_menu_button);
        
        doc.debug("labelPos:"+sub_menu._computeLabelPosition());
        doc.debug("maxIcon:"+sub_menu._computeMaxIconWidth());

        doc.add(main_menu, sub_menu);

I hotfixed this with increasing the iconContentGap in my appearance because
I didn't find the bug.

When I find such problems, should I enter them directly in bugzilla?


Best Greetings from Thailand

Stefan



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to