We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0377ea5 commit 52f4bd4Copy full SHA for 52f4bd4
widgets/+wt/ButtonGrid.m
@@ -42,9 +42,6 @@
42
% Alignment of the icon
43
IconAlignment (1,1) wt.enum.AlignmentState = wt.enum.AlignmentState.top
44
45
- % Default size of new buttons ('1x' or 'fit')
46
- DefaultSize {mustBeMember(DefaultSize,{'1x','fit'})} = '1x'
47
-
48
end %properties
49
50
@@ -159,15 +156,6 @@ function update(obj)
159
156
160
157
end %for idx = 1:numNew
161
158
162
- % Update layout
163
- if obj.Orientation == "vertical"
164
- obj.Grid.ColumnWidth = {obj.DefaultSize};
165
- obj.Grid.RowHeight = repmat({obj.DefaultSize},1,numNew);
166
- else
167
- obj.Grid.ColumnWidth = repmat({obj.DefaultSize},1,numNew);
168
- obj.Grid.RowHeight = {obj.DefaultSize};
169
- end %if obj.Orientation == "vertical"
170
171
end %function
172
173
0 commit comments