Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
List box & Static text

Subject: List box & Static text

From: amin

Date: 24 Jan, 2010 23:01:08

Message: 1 of 3

hi. how i can use list box like Static text in gui Matlab. i want use
list box because its have horizontal & Vertical slider to see all part
of String

Subject: List box & Static text

From: Walter Roberson

Date: 25 Jan, 2010 04:29:20

Message: 2 of 3

amin wrote:
> hi. how i can use list box like Static text in gui Matlab. i want use
> list box because its have horizontal & Vertical slider to see all part
> of String

uicontrol('Style','list') does NOT have a horizontal slider. 'popup' and
'edit' and 'text' do not have a horizontal slider either.

I seem to recall that there is a FEX contribution that has horizontal
and vertical sliders for text.

Subject: List box & Static text

From: Yair Altman

Date: 1 Feb, 2010 17:44:05

Message: 3 of 3

Walter Roberson <roberson@hushmail.com> wrote in message <hjj6n1$r0h$1@canopus.cc.umanitoba.ca>...
> amin wrote:
> > hi. how i can use list box like Static text in gui Matlab. i want use
> > list box because its have horizontal & Vertical slider to see all part
> > of String
>
> uicontrol('Style','list') does NOT have a horizontal slider. 'popup' and
> 'edit' and 'text' do not have a horizontal slider either.
>
> I seem to recall that there is a FEX contribution that has horizontal
> and vertical sliders for text.


Here's an article describing how to customize the Matlab listbox and multi-line editbox scrollbars: http://undocumentedmatlab.com/blog/customizing-listbox-editbox-scrollbars/

Yair Altman
http://UndocumentedMatlab.com

Tags for this Thread

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.

Contact us