Skip to content
Snippets Groups Projects
Commit 10e64d6c authored by jacques.grelet_ird.fr's avatar jacques.grelet_ird.fr
Browse files

define 3 differents fontsize for screen

parent 2bcb38a5
No related branches found
No related tags found
No related merge requests found
......@@ -42,9 +42,15 @@ end
set(0,'Units','pixels');
screenSize = get(0,'ScreenSize');
% get horizontal screen dimension in pixel
% ----------------------------------------
horizontal = screenSize(3);
% set default font size
% ---------------------
if screenSize(3) <= 1024
if horizontal < 1024
tsg.fontSize = 8;
elseif horizontal <= 1280
tsg.fontSize = 9;
else
tsg.fontSize = 11;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment