Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
fix ui varin
Browse files Browse the repository at this point in the history
  • Loading branch information
MPIBR-tushevg committed Nov 1, 2017
1 parent 0e5a1ef commit 8f1c20b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions WidgetFolderBrowserUi.m
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@

methods

function obj = WidgetFolderBrowserUi(varhandle)
function obj = WidgetFolderBrowserUi(ui_parent)



% render parent
if isempty(varhandle)
if isempty(ui_parent)

obj.parent = figure(...
'Visible', 'on',...
Expand All @@ -66,9 +66,9 @@
'Position', obj.UIWINDOW_SIZE);
movegui(obj.parent, 'northwest');

elseif isgraphics(varhandle)
elseif isgraphics(ui_parent)

obj.parent = parserObj.Results.Parent;
obj.parent = ui_parent;

else

Expand All @@ -89,7 +89,7 @@
'Padding', obj.UIGRID_PADDING,...
'Title', 'FolderBrowser');

obj.layout = uix.VBoxFlex(...
obj.layout = uix.VBox(...
'Parent', obj.panel,...
'Padding', obj.UIGRID_PADDING);

Expand Down

0 comments on commit 8f1c20b

Please sign in to comment.