Quantcast
Channel: MATLAB Central Newsreader Recent Posts
Viewing all articles
Browse latest Browse all 19628

Can't resize GUIDE static text box

$
0
0
In GUIDE, I placed a static text control in my figure window. Then, using the string editor in the property inspector, I entered six lines of text. (The lines of text don't change when the program is running, which is why I'm setting them through the inspector.) Each line of text is short - say one word. All six lines appear correctly in the text box in the GUI designer, but the box is very wide. It has the six words on the left side of the box and then the remainder of the box is blank. The problem is that I can't shrink the box by dragging the handle on the right side of the box leftward. When I click on the handle the box gets outlined but then nothing happens when I drag the handle to the left. The same thing happens if I try to drag the left handle to the right.

I think the text box is seeing the six lines as one line and setting the width of the box to contain that one line because if I delete a line, I _can_ then resize the box by the length of the word in the deleted line.

Any suggestions? I have R2012b.

Thanks.
Greg Reese

Viewing all articles
Browse latest Browse all 19628

Trending Articles