Changeset 690 for trunk/src/view_field.m
- Timestamp:
- Sep 29, 2013, 1:19:30 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/view_field.m
r681 r690 117 117 set(handles.view_field,'UserData',Data) 118 118 119 %% reset position of text_display orTableDisplay120 if strcmp(get(handles.TableDisplay,'Visible'),'off') 119 %% reset position of text_display and TableDisplay 120 % reset position of text_display 121 121 pos_1=get(handles.text_display,'Position');% [lower x lower y width height] for text_display 122 122 pos_1(1)=size_fig(3)-pos_1(3); % set text display to the right of the fig … … 124 124 set(handles.text_display,'Position',pos_1) 125 125 % reset position of TableDisplay 126 else 127 pos_1=get(handles.TableDisplay,'Position'); 128 pos_1(1)=size_fig(3)-pos_1(3); 129 pos_1(2)=size_fig(4)-pos_1(4); 126 % pos_1=get(handles.TableDisplay,'Position'); 127 % pos_1(1)=size_fig(3)-pos_1(3); 128 % pos_1(2)=size_fig(4)-pos_1(4); 130 129 set(handles.TableDisplay,'Position',pos_1) 131 end 130 % end 131 % reset position of CheckTable 132 pos_CheckTable=get(handles.CheckTable,'Position');% [lower x lower y width height] for CheckHold 133 pos_CheckTable(1)=pos_1(1)-pos_CheckTable(3); % set 'CheckHold' to the right of the fig 134 pos_CheckTable(2)=size_fig(4)-pos_CheckTable(4); % set 'CheckHold' to the lower edge of text display 135 set(handles.CheckTable,'Position',pos_CheckTable) 132 136 133 137 %% reset position of CheckHold … … 841 845 function num_ColCode2_Callback(hObject, eventdata, handles) 842 846 847 848 849 % --- Executes on button press in CheckTable. 850 function CheckTable_Callback(hObject, eventdata, handles) 851 if get(handles.CheckTable,'Value') 852 set(handles.TableDisplay,'Visible','on') 853 else 854 set(handles.TableDisplay,'Visible','off') 855 end 856
Note: See TracChangeset
for help on using the changeset viewer.