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);
    }

Parents
  • I just updated to the latest FW 3.40 and can reproduce part of the issue.

    The broken image rendering is fixed. However, the issue where the text only takes up about half of the screen still persists.

    To be specific, notice how in the above image the second row has the 'AAAAAA' truncated and '...' added halfway across the screen, not the full width. That's what I'm still seeing on 3.40.

Comment
  • I just updated to the latest FW 3.40 and can reproduce part of the issue.

    The broken image rendering is fixed. However, the issue where the text only takes up about half of the screen still persists.

    To be specific, notice how in the above image the second row has the 'AAAAAA' truncated and '...' added halfway across the screen, not the full width. That's what I'm still seeing on 3.40.

Children
No Data