Complete
over 4 years ago

CIQQA-368

Cannot Reproduce

2Long Labels Break Menu2 on Venu2s

The text wrapping on the Venu2s (and maybe Venu2?) appears to be broken for Menu2 menus.

If a MenuItem, IconMenuItem, or CheckboxMenuItem has a really long label/sublabel, the rendering of the first item becomes really wonky.

The other items are also a little wonky in that they don't render enough text... there's plenty of extra space on the screen.

    private function addTestMenuItems() {
        var label = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA";
        var sublabel = "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB";

        var icon = new Rez.Drawables.TestIcon();

        var item = new Ui.IconMenuItem(label, sublabel, :ident, icon, null);

        self.addItem(item);
        self.addItem(item);
        self.addItem(item);
    }