[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #58144] "Cdata" icon for UIcontrol is incorrec
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #58144] "Cdata" icon for UIcontrol is incorrectly sized |
Date: |
Sat, 18 Apr 2020 16:37:35 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko |
Follow-up Comment #10, bug #58144 (project octave):
@Guillaume: I can confirm what you are seeing. I uploaded a modified version
of your script called tst_uitoggle.m which shows that the clipping is
occurring in the upper left corner.
f = figure ("toolbar", "none");
t = uitoolbar (f);
%% Try 16 different sizes
for i=8:8:128
%% Create gridded image with black squares separated by white lines
img = zeros (i, i, 3, "uint8");
img (1:8:end, :, :) = 255;
img (:, 1:8:end, :) = 255;
%% Color each 8x8 square on diagonal differently
for j = 1:(i/8)
idx = (8*(j-1)) + (1:8);
img (idx, idx, :) = 256 - 256/(i/8) * (j-1);
endfor
b = uitoggletool (t, "cdata", img);
end
Image of the result is attached as file uitoggle_clipping.png.
(file #48862, file #48863)
_______________________________________________________
Additional Item Attachment:
File name: tst_uitoggle.m Size:0 KB
<https://savannah.gnu.org/file/tst_uitoggle.m?file_id=48862>
File name: uitoggle_clipping.png Size:6 KB
<https://savannah.gnu.org/file/uitoggle_clipping.png?file_id=48863>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58144>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #58144] Cdata for UIcontrol is not properly implemented, Rik, 2020/04/09
- Message not available
- Message not available
- [Octave-bug-tracker] [bug #58144] Cdata for UIcontrol is not properly implemented, Rik, 2020/04/14
- [Octave-bug-tracker] [bug #58144] "Cdata" icon for UIcontrol is incorrectly sized, Rik, 2020/04/14
- [Octave-bug-tracker] [bug #58144] "Cdata" icon for UIcontrol is incorrectly sized, Rik, 2020/04/16
- [Octave-bug-tracker] [bug #58144] "Cdata" icon for UIcontrol is incorrectly sized, Rik, 2020/04/16
- [Octave-bug-tracker] [bug #58144] "Cdata" icon for UIcontrol is incorrectly sized, Guillaume, 2020/04/16
- [Octave-bug-tracker] [bug #58144] "Cdata" icon for UIcontrol is incorrectly sized, Rik, 2020/04/16
- [Octave-bug-tracker] [bug #58144] "Cdata" icon for UIcontrol is incorrectly sized, Rik, 2020/04/16
- Message not available
- [Octave-bug-tracker] [bug #58144] "Cdata" icon for UIcontrol is incorrectly sized,
Rik <=
- Message not available
- [Octave-bug-tracker] [bug #58144] "Cdata" icon for UIcontrol is incorrectly sized, Rik, 2020/04/18
- Message not available
- [Octave-bug-tracker] [bug #58144] "Cdata" icon for UIcontrol is incorrectly sized, Rik, 2020/04/20
- [Octave-bug-tracker] [bug #58144] "Cdata" icon for UIcontrol is incorrectly sized, Guillaume, 2020/04/21
- [Octave-bug-tracker] [bug #58144] "Cdata" icon for UIcontrol is incorrectly sized, Rik, 2020/04/21