GUI starts in docked mode. How can I change this 'default behaviour'?
Show older comments
Hello,
first of all: I'm not very familiar with programming but I do my best to learn as quick as possible. I am currently working on a GUI (process modelling) including tables, axes, input dialogs and some other standard elements. For some reason, when I start the GUI now, it is displayed in 'docked' mode, which means I can resize the windows and so on, which I do not want. However, when I undock the GUI by clicking on the symbol (upper right corner) it is displayed as I expect it to be (non-resizable, as set in the GUI properties). This occured after I added an input dialog which I need to display copyable fit curve equations. Anyone an idea what to do about it?
Thanks in advance!
Answers (1)
Image Analyst
on 24 May 2013
0 votes
How did you create the gui? With GUIDE or with figure()? What is your 'WindowStyle' property set to initially?
2 Comments
Roman
on 24 May 2013
Image Analyst
on 24 May 2013
Your 'units' property must be set to normalized. Set it to 'pixels' to have it not scale all the controls when you drag your GUI to a different size.
Categories
Find more on Graphics Objects in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!