[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #62490] edit style uicontrol() doesn't support
From: |
Glite |
Subject: |
[Octave-bug-tracker] [bug #62490] edit style uicontrol() doesn't support multiple lines of text |
Date: |
Fri, 20 May 2022 11:52:23 -0400 (EDT) |
Follow-up Comment #4, bug #62490 (project octave):
That can solve this problem.
Btw we should improve the document about how to enable multiple lines of text.
Otherwise users may just regard that as a workaround.
[comment #3 comment #3:]
> 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 sent via Savannah
https://savannah.gnu.org/