[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #62490] edit style uicontrol() doesn't support
From: |
Pantxo Diribarne |
Subject: |
[Octave-bug-tracker] [bug #62490] edit style uicontrol() doesn't support multiple lines of text |
Date: |
Fri, 20 May 2022 11:19:41 -0400 (EDT) |
Follow-up Comment #3, bug #62490 (project octave):
It probably needs some documentation, but in Octave, like in ML counterpart,
you need to set the difference between "max" and "min" properties larger than
1 to allow multi-line edit. E.g, the following produces a multiline uicontrol
for me:
>> uicontrol(gcf, 'style', 'edit', 'min', 0, 'max', 4, 'position', [50 50 200
200])
>> # type e.g "a ENTER b ENTER c
>> get (h, "string")
ans =
{
[1,1] = a
[2,1] = b
[3,1] = c
}
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62490>
_______________________________________________
Message posté via Savannah
https://savannah.gnu.org/