[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #38509] Multiline text not supported with uico
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #38509] Multiline text not supported with uicontrol of type editable text field |
Date: |
Sat, 29 Mar 2014 22:06:14 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.152 Safari/537.36 |
Update of bug #38509 (project octave):
Category: Plotting => Plotting with OpenGL
Severity: 3 - Normal => 1 - Wish
Item Group: None => Feature Request
Status: None => Need Info
Release: 3.6.2 => dev
Operating System: Microsoft Windows => Any
_______________________________________________________
Follow-up Comment #1:
Thanks for your bug report. The qt toolkit is now merged into the development
version of Octave for the 4.0 release. I can confirm your report on Linux,
although there is a slight typo. With the fixed version of your example below,
the resulting panels show the same results for either a cell array or a string
matrix (strings joined with vertical bar).
Is this the expected behavior in Matlab when an array of strings is given as
the String property for an edit uicontrol? The public documentation does not
say anything about a string matrix or cell array. In other words, is this a
feature request or a Matlab compatibility issue?
hf = figure;
set(hf,'Units','normalized');
hp = uipanel('Title','Text panel','Units','normalized','Position',[0.05 0.05
0.9 0.9],'Parent',hf);
he = uicontrol('Style','edit','String','','Units','normalized','Position',[0.1
0.1 0.4 0.4],'Parent',hp,'BackgroundColor','y','Max',10,'Min',1);
str = {'line 1';'line 2';'line 3'};
set(he,'String',str);
he2 =
uicontrol('Style','edit','String','','Units','normalized','Position',[0.1 0.55
0.4 0.4],'Parent',hp,'BackgroundColor','g','Max',10,'Min',1);
str2 = ['line 1';'line 2';'line 3'];
set(he2,'String',str2);
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?38509>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #38509] Multiline text not supported with uicontrol of type editable text field,
Mike Miller <=