Hi, I need resize my buttongroup in which are 6 checkboxes. If number in edit box is lower than 3, buttongroup should be smaller than if the nimber in edit box is higher than 3. I can it resize, but it is not exactly what I need
My code is:
handles.hodnota=str2double(get(handles.edit1,'String'));if handles.hodnota>2 set(handles.uibuttongroup1,'Position',[29.8 2.23 20.2 15])else set(handles.uibuttongroup1,'Position',[29.8 2.23 20.2 6])end
Best Answer