MATLAB: How to Keep Objects Organized while Maximizing a Figure

figureguide

Objects look fine on a figure until I maximize the figure. How can manage the position of objects when I maximize or generally change the size of the window?

Best Answer

It depends on what you want. Button should keep the same size, but axes or uitables should grow with the figure. Therefore some sizes should be defined in pixel coordinates, others look fine using 'normalized' coordinates. There is no general solution.