[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #60951] ListboxTop property has no effect
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #60951] ListboxTop property has no effect |
Date: |
Wed, 21 Jul 2021 11:05:11 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36 |
URL:
<https://savannah.gnu.org/bugs/?60951>
Summary: ListboxTop property has no effect
Project: GNU Octave
Submitted by: None
Submitted on: Wed 21 Jul 2021 03:05:07 PM UTC
Category: GUI
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name: Paul Mennen
Originator Email: paul@mennen.org
Open/Closed: Open
Release: 6.3.0
Discussion Lock: Any
Operating System: Microsoft Windows
_______________________________________________________
Details:
Consider the following script:
h = uicontrol('style','listbox','position',[20 20 120 300],...
'backgroundcolor','black','foregroundcolor','yellow',...
'string',reshape(sprintf(' This is Line %2d',1:60),16,60)');
set(h,'value',30,'listboxTop',20);
When I run this in Matlab I get the 1st attached figure. Note that the 30th
line is highlighted (because of the 'value' parameter) and that the 20th line
is shown at the top of the listbox (because of the 'listboxTop' parameter).
When I run this in Octave I get the 2nd attached figure. Again the 30th line
is highlighted as expected, although the highlighting is done in a strange way
that makes it difficult to see the text under the highlight. That's awkward,
but the more significant problem is that the 15th line is at the top, not the
20th line as expected. Further experiments show that the listboxTop parameter
is always ignored and that the figure does not change no matter what value I
set it to. This is a pretty useful parameter, and I hope Octave will support
it in a future version.
~Paul
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Wed 21 Jul 2021 03:05:08 PM UTC Name: listbox2.png Size: 32KiB By:
None
<http://savannah.gnu.org/bugs/download.php?file_id=51677>
-------------------------------------------------------
Date: Wed 21 Jul 2021 03:05:07 PM UTC Name: listbox1.png Size: 30KiB By:
None
<http://savannah.gnu.org/bugs/download.php?file_id=51676>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?60951>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #60951] ListboxTop property has no effect,
anonymous <=
- [Octave-bug-tracker] [bug #60951] ListboxTop property has no effect, Markus Mützel, 2021/07/21
- [Octave-bug-tracker] [bug #60951] ListboxTop property not implemented, Rik, 2021/07/21
- [Octave-bug-tracker] [bug #60951] ListboxTop property not implemented, Rik, 2021/07/22
- [Octave-bug-tracker] [bug #60951] ListboxTop property not implemented, Markus Mützel, 2021/07/22
- [Octave-bug-tracker] [bug #60951] get (uicontrol_object, "ListboxTop") property not implemented, Rik, 2021/07/22
- [Octave-bug-tracker] [bug #60951] get (uicontrol_object, "ListboxTop") property not implemented, John W. Eaton, 2021/07/26