Gui resize with dynamic objects

10 次查看(过去 30 天)
Teresa
Teresa 2011-9-1
I've implemented a gui for a screensize of 1280 x 1024. There some dynamic buttons which depend on the size of my axes (calculate with the amount of pixels). Now I want that you can see the gui also with screensize 1024 x 768. But if I use the Resize-function the dynamic buttons are at the wrong place. Don't know how to solve this, can you help me? Should I have to change the calculation of the dynamic buttons? Thank you for any help

回答(1 个)

Teresa
Teresa 2011-9-1
I changed the function of the dynamic buttons and made them dependend on the new size of the axes. after that i changed there 'units' to 'normalized' so that they will resize too.
But if somebody has a better solution, he can tell me :)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by