Assuming that my HBox has a following children:
<HBox fx:id="hBox" xmlns="http://javafx.com/javafx/8.0.102-ea" xmlns:fx="http://javafx.com/fxml/1" fx:controller="gui.controllers.ChatMessageController">
<children>
<TextFlow>
</TextFlow>
<Label text="|" />
<TextFlow>
</TextFlow>
</children>
</HBox>
This HBox can be resized to any values. How can I make sure, that first TextFlow will always fit the size of its content without wrapping?
In other words - I wish the first TextFlow to have an ultimate priority in accesing HBox space.