Changeset 155 for aedes_headerbrowser.m


Ignore:
Timestamp:
Jan 24, 2011, 10:22:47 AM (8 years ago)
Author:
tjniskan
Message:
  • Added support for multiple monitor systems

M aedes_inputdlg.m
M aedes_roi_copy_gui.m
A aedes_dialoglocation.m
M aedes_readfidprefs.m
M aedes_rotateflip.m
M aedes_resviewer.m
M aedes.m
M aedes_helpabout.m
M plugins/fat_analysis.m
M plugins/copy_data_to_workspace.m
M aedes_export_gui.m
M aedes_headerbrowser.m
M aedes_revision.m
M aedes_juigetfiles.m
M aedes_editstack.m

File:
1 edited

Legend:

Unmodified
Added
Removed
  • aedes_headerbrowser.m

    r147 r155  
    3838
    3939% Do some error checking
    40 if nargin ~= 1
     40if nargin < 1
    4141  error('Invalid number of input arguments!')
    4242end
     
    179179    Dat.MatlabVersion = aedes_getmatlabversion;
    180180
    181     % Position figure to the center of the screen
    182     scrsz = get(0,'screensize');
    183181    fig_w = 600;
    184182    fig_h = 700;
    185     fig_pos = [scrsz(3)/2-fig_w/2 scrsz(4)/2-fig_h/2 fig_w fig_h];
    186    
    187    
     183                fig_location = aedes_dialoglocation([fig_w,fig_h]);
     184                fig_pos = [fig_location(1) fig_location(2) fig_w fig_h];
     185               
    188186    % Main Figure ----------------------------
    189187    H.Fig = figure('Units','Pixel', ...
Note: See TracChangeset for help on using the changeset viewer.

Powered by Trac 1.0.9.Copyright © Juha-Pekka Niskanen 2008