[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #63422] uitable columnwidth with a minimum val
From: |
Liang Tang |
Subject: |
[Octave-bug-tracker] [bug #63422] uitable columnwidth with a minimum value of 30 |
Date: |
Sat, 26 Nov 2022 09:52:13 -0500 (EST) |
URL:
<https://savannah.gnu.org/bugs/?63422>
Summary: uitable columnwidth with a minimum value of 30
Project: GNU Octave
Submitter: lt1234
Submitted: Sat 26 Nov 2022 02:52:11 PM UTC
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Matlab Compatibility
Status: None
Assigned to: None
Originator Name: lt1234
Originator Email:
Open/Closed: Open
Release: 7.1.0
Discussion Lock: Any
Operating System: Microsoft Windows
Fixed Release: None
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Sat 26 Nov 2022 02:52:11 PM UTC By: Liang Tang <lt1234>
uitable is a mechanism to work with excel worksheets. Bug report #63388 can
be looked at as displaying different worksheets on
a same uitable. This report is about the appearance of a worksheet.
Octave uitable syntax follows an older version of matlab uitable that matlab
still supports. uitable columnwidth can be a cell array. Octave uitable
columnwidth appears to have an undocumented lower bound near 30, which matlab
does not have. 30 is a fairly large width.
Please use the example below. The columnwidth remains the same after the
specified width is below 30. If you have matlab resource, you should find 1
is still a legal/accepted width in matlab.
I would recommend that either the columnwidth follows the specified number or
this lower bound (and its reasoning) is documented as an incompatibility.
fid=figure;
h=uitable(fid,'units','normalized', ...
'Position',[ 0.1 0.15 0.9 0.6 ], ...
'data',{'1111111' '1' '22'}, ...
'ColumnWidth',{100,100 100}, 'tag', 'example');
for ii=100:-10:10,
set(h, 'ColumnWidth', { 100, ii, 100});
set(fid, 'name', num2str(ii)); pause;
end
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63422>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #63422] uitable columnwidth with a minimum value of 30,
Liang Tang <=