Skip to content

Instantly share code, notes, and snippets.

@anddam
Last active December 14, 2015 02:39
Show Gist options
  • Save anddam/5014894 to your computer and use it in GitHub Desktop.
Save anddam/5014894 to your computer and use it in GitHub Desktop.
fix resize in octave fltk backend on osx
function fltk_fix_resize
number_of_figures = get(0, "children")(1,1);
screen_size = get(0, "screensize");
for figure_number = 1:number_of_figures
figure_position = get(figure_number, "position");
set (figure_number, "position", screen_size);
drawnow()
set (figure_number, "position", figure_position);
endfor
endfunction
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment