How to resize a text box that is between arrows on the left and right of the screen
Posted: Thu Feb 22, 2018 11:49 pm
I want to place an arrow on the bottom left and bottom right of the screen.
Then I want to have a text box between the two arrows connecting them so there will be a black strip at the bottom of the screen with a previous and next arrow on each side with the title of the pano in the middle.
I can get the arrows in pace easily enough by anchoring them to the bottom left for the one and bottom right for the other, and I can anchor the text to the bottom middle.
It all looks good, but what do I do when the screen changes size, either on a different device or the user changes the size of the browser on a desktop?
I end up with a gap between the buttons and the text.
What is the best way to dynamically deal with this. I can't find it.
Then I want to have a text box between the two arrows connecting them so there will be a black strip at the bottom of the screen with a previous and next arrow on each side with the title of the pano in the middle.
I can get the arrows in pace easily enough by anchoring them to the bottom left for the one and bottom right for the other, and I can anchor the text to the bottom middle.
It all looks good, but what do I do when the screen changes size, either on a different device or the user changes the size of the browser on a desktop?
I end up with a gap between the buttons and the text.
What is the best way to dynamically deal with this. I can't find it.