Thread Subject: guide

Subject: guide

From: occor

Date: 15 Jan, 2008 16:39:02

Message: 1 of 2

hi all ya
i am currently running a GuI.
I would like to know how to resize my listbox frame (or an
edit frame).
The dimensions are too large and i cannot find any tool to
resize them. ( I cannot with the mouse either)
Thanks a lot!!

I am running on matlab Ver 7.0.0. 19 9920

Subject: guide

From: Anh Huy Phan

Date: 15 Jan, 2008 17:17:02

Message: 2 of 2

"occor " <occor.ildefrise.nospam@mathworks.com> wrote in
message <fminj6$eqj$1@fred.mathworks.com>...
> hi all ya
> i am currently running a GuI.
> I would like to know how to resize my listbox frame (or
an
> edit frame).
> The dimensions are too large and i cannot find any tool
to
> resize them. ( I cannot with the mouse either)
> Thanks a lot!!
>
> I am running on matlab Ver 7.0.0. 19 9920

 - Click mouse on your listbox
 - Type the following lines in the command window
   
   set(0,'ShowHiddenHandles','on')
   pos = get(gco,'position');
   set(gco,'position',[pos(1:2) pos(3:4)/2])
   set(0,'ShowHiddenHandles','off')

Your listbox will be resized by factor of 1/2.

Anh Huy Phan
RIKEN - BSI


Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
guide occor 15 Jan, 2008 11:40:21
property occor 15 Jan, 2008 11:40:21
size occor 15 Jan, 2008 11:40:21
listebox occor 15 Jan, 2008 11:40:21
rssFeed for this Thread

Public Submission Policy

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Disclaimer prior to use.

Contact us at files@mathworks.com