Skip to content

Commit

Permalink
changes to avoid crash in Octave
Browse files Browse the repository at this point in the history
  • Loading branch information
wahln committed Jul 29, 2020
1 parent 5694ffd commit 36a149d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gui/matRad_MainGUI.m
Original file line number Diff line number Diff line change
Expand Up @@ -113,20 +113,20 @@

methods
function obj = matRad_MainGUI(varargin)

%Panel for Main Widget
obj.guiHandle = figure(...
'Units','characters',...
'Position',[138.4 30.38461538461539 273.4 59.5384615384615],...
'Units','normalized',...
'OuterPosition',[0 0 1 1],...
'Visible','on',...
'Color',[0.501960784313725 0.501960784313725 0.501960784313725],...
'IntegerHandle','off',...
'Colormap',[0 0 0.5625;0 0 0.625;0 0 0.6875;0 0 0.75;0 0 0.8125;0 0 0.875;0 0 0.9375;0 0 1;0 0.0625 1;0 0.125 1;0 0.1875 1;0 0.25 1;0 0.3125 1;0 0.375 1;0 0.4375 1;0 0.5 1;0 0.5625 1;0 0.625 1;0 0.6875 1;0 0.75 1;0 0.8125 1;0 0.875 1;0 0.9375 1;0 1 1;0.0625 1 1;0.125 1 0.9375;0.1875 1 0.875;0.25 1 0.8125;0.3125 1 0.75;0.375 1 0.6875;0.4375 1 0.625;0.5 1 0.5625;0.5625 1 0.5;0.625 1 0.4375;0.6875 1 0.375;0.75 1 0.3125;0.8125 1 0.25;0.875 1 0.1875;0.9375 1 0.125;1 1 0.0625;1 1 0;1 0.9375 0;1 0.875 0;1 0.8125 0;1 0.75 0;1 0.6875 0;1 0.625 0;1 0.5625 0;1 0.5 0;1 0.4375 0;1 0.375 0;1 0.3125 0;1 0.25 0;1 0.1875 0;1 0.125 0;1 0.0625 0;1 0 0;0.9375 0 0;0.875 0 0;0.8125 0 0;0.75 0 0;0.6875 0 0;0.625 0 0;0.5625 0 0],...
'MenuBar','none',...
'Name','matRadGUI',...
'NumberTitle','off',...
'HandleVisibility','callback',...
'Tag','figure1',...
'PaperSize',[20.99999864 29.69999902]);
'sizechangedfcn',@(h,evt) updateWidgets(obj));

p1 = uipanel(...
'Parent',obj.guiHandle,...
Expand Down

0 comments on commit 36a149d

Please sign in to comment.