I want to create a row of three elements a label, a progressbar and a second label. To do this I've used this code:
(SpBoxLayout newLeftToRight
spacing: 15;
add: secondsPassed expand: false;
add: progressBar withConstraints: [ :constraints |
constraints
height: 10;
fill: false;
width: 280 ];
add: timeRemaining expand: false;
yourself)
I've set the width constraint explicitly, but what I'd like to do is have it take up all the space between the two labels no matter how wide the row is.
So that it's width is flexible and the two labels are fixed.
