Good afternoon,
I'm hoping to get some help/adice or a nudge in the right direction on the following problem:
I'm using a programme where I define a container and inside that container I'm placing three elements. First element is an image that occupies the top of the container. Second element is a label with some text and last element is a text box that takes up the bottom portion of the container. All elements have different heights.
If the user wants to make a container smaller, the dynamic resizing is handeled authomatically by the width property.
My issue is that if a person needs to resize the container vertically rather than horizonally, I'm not sure how to handle that and my search of a proper mathematical formula has only led to programming solutions, which I cannot use.
Could someone assist with some advice?