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.
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.