ToolBar: overflow button logic broken after setMaxWidth

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: jfx25
    • Component/s: javafx
    • None

      Setting max width on a component placed in a ToolBar breaks the overflow button visibility logic.

      To reproduce, run the attached reproducer and noticed how the combobox and the button both disappear with the overflow button showing, despite the fact that both can fit just fine with room to spare.

      Setting pref width instead of max width produces the correct result.

            Assignee:
            Andy Goryachev
            Reporter:
            Andy Goryachev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: