How can I make sure that the print command associated with pushbutton callback does not distort my GUI when resized?
Show older comments
I have created a GUI using GUIDE. The figure contains static text box placed at the top of the figure window and a button. The button callback includes the following command:
print -dbitmap -loose
When I run the GUI and click on the button, the PRINT command executes as expected. However, when I resize the GUI and push the button, the GUI is distorted and the Static text box is moved out of the screen at the top.
Accepted Answer
More Answers (0)
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!