This is a repeat of issue #3344, which was initially fixed in #3354, however this fix has knock on consequences for labels in the Byte Monitor widget reported in #3518.
The fix for the label height was to set:
jfx_node.setMinSize(Control.USE_PREF_SIZE, Control.USE_PREF_SIZE);
jfx_node.setMaxSize(Control.USE_PREF_SIZE, Control.USE_PREF_SIZE);
But setting the min size like this caused the labels in the Byte Monitor widget to not show. Removing the setMinSize() fixed the Byte Monitor issue but undid the fix for the label height.
I believe setting both min and max to the same thing tells JavaFX to 'really' set this size. My guess is that removing the one let it treat the preferred size as optional again.
This is a repeat of issue #3344, which was initially fixed in #3354, however this fix has knock on consequences for labels in the Byte Monitor widget reported in #3518.
The fix for the label height was to set:
But setting the min size like this caused the labels in the Byte Monitor widget to not show. Removing the
setMinSize()fixed the Byte Monitor issue but undid the fix for the label height.I believe setting both min and max to the same thing tells JavaFX to 'really' set this size. My guess is that removing the one let it treat the preferred size as optional again.