Skip to content

Commit 84bea14

Browse files
authored
Merge pull request #871 from JenHardt/bugfix/matlabonline_gui
to prevent the matRadGUI window beeing to big if used in MATLAB Online
2 parents dddf27c + 7b7075d commit 84bea14

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

matRad/gui/matRad_MainGUI.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,9 @@
210210
if matRad_ispropCompat(obj.guiHandle,'WindowState')
211211
set(obj.guiHandle,'WindowState','maximized');
212212
end
213+
if matRad_cfg.isMatlab && isunix
214+
movegui(obj.guiHandle,'onscreen');
215+
end
213216

214217
if matRad_cfg.isOctave
215218
commonPanelProperties = {'Parent',obj.guiHandle,...

0 commit comments

Comments
 (0)