0

Can I fix these buttons so the icons center inside them? This only occurs inside a Menu widget. In my screenshot, you can see how they are aligned top left to the buttons. I have one button outside the menu as an example of it working there. The code creating the buttons is the same. jQuery 1.8.2 and jQueryUI 1.9.0

        $(".save").button({
            text: false,
            icons: { primary: "ui-icon-disk" }
        }).click(function () { alert('Save not implemented yet'); return false; });

        $(".Delete").button({
            text: false,
            icons: { primary: "ui-icon-trash" }
        }).click(function () { alert('Delete not implemented yet'); return false; });

screenshot of jQueryUI menu widget and mis-rendered icons

4

0 回答 0