Thread Subject: Unusual behaviour using get('extent') for uicontrol

Subject: Unusual behaviour using get('extent') for uicontrol

From: Phil

Date: 7 May, 2009 14:43:01

Message: 1 of 2

Just to check before I register this as a bug. I have been extracting the 'extent' property of a ui table but when I execute this code (for example) ext and ext2 are different:

sampleData = [0 1; 2 3];

hanFig = figure;

tbHan = uitable('data', sampleData)

ext = get(tbHan, 'extent')
pause(0.01)
ext2 = get(tbHan, 'extent')

Yields:

ext =

     0 0 152 34


ext2 =

     0 0 182 52

This behaviour is consistent even when pause(0) is used.

I'm not missing something here am I? I have searched the forums and bug reports and can't find anything on this.

Subject: Unusual behaviour using get('extent') for uicontrol

From: Phil

Date: 7 May, 2009 14:48:01

Message: 2 of 2

A bit early for a bump but I guess I should add that I am on 2008a 7.6.0.324

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
uitable bug extent Phil 7 May, 2009 10:44:40
rssFeed for this Thread

Contact us at files@mathworks.com