[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #59949] Various minor GUI issues
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #59949] Various minor GUI issues |
Date: |
Tue, 26 Jan 2021 23:31:08 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36 |
Follow-up Comment #4, bug #59949 (project octave):
With a little more testing on Matlab, it is clear that for multi-line objects
where only one is displayed (such as "popupmenu") the "extent" property has
the value of the extents for the *first* instance. This is true even if a
different value with a different extent is currently selected and displayed.
See the test code below which shows the extent for 'a' rather than the long
string.
figure; h = uicontrol('style', 'popupmenu', 'string', {'a','very long
string','c'}, 'value', 2); get(h, 'extent')
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?59949>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/