From 33f94570170a277553ee5e1eb62b3bd6bbc04e6c Mon Sep 17 00:00:00 2001
From: Jacques Grelet <jacques.grelet@ird.fr>
Date: Wed, 9 Jan 2008 15:21:39 +0000
Subject: [PATCH] modification de la hauteur des popupmenu diminution de la
 propriete fontsize pour ces memes menus

---
 @tsg_nc/tsg_ncattr.csv | 14 +++++++-------
 tsg_util/headerForm.m  |  6 +++---
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/@tsg_nc/tsg_ncattr.csv b/@tsg_nc/tsg_ncattr.csv
index 71fed78..e0357cf 100644
--- a/@tsg_nc/tsg_ncattr.csv
+++ b/@tsg_nc/tsg_ncattr.csv
@@ -3,15 +3,15 @@
 %
 id;code;name;conventions;uicontrolType;string;value;length;height;horizontalAlignment;comment;
 integer;char;char;char;char;char;integer;integer;integer;char;char;
-1;PLATFORM_NAME;PLATFORM NAME:;;edit;;;;;right;Ship name;
+1;PLATFORM_NAME;PLATFORM NAME:;test;edit;;;;;right;Ship name;
 2;SHIP_CALL_SIGN;SHIP CALL SIGN:;;edit;;;;;right;Ship call sign;
 3;SHIP_MMSI;SHIP MMSI:;;edit;;;;;right;Ship MMSI (ASN) number;
-4;TSG_TYPE;TSG TYPE:;;popupmenu;SBE21|SBE45|UNKNO;1;.1;.015;right;Thermosalinograph model number;
+4;TSG_TYPE;TSG TYPE:;;popupmenu;SBE21|SBE45|UNKNO;1;.1;.02;right;Thermosalinograph model number;
 5;TSG_NUMBER;TSG NUMBER:;;edit;;;;;right;TSG serial number;
-6;TINT_TYPE;TINT TYPE:;;popupmenu;SBE38|SBE3S|UNKNO;1;.1;.015;right;External sea surface temperature sensor;
+6;TINT_TYPE;TINT TYPE:;;popupmenu;SBE38|SBE3S|UNKNO;1;.1;.02;right;External sea surface temperature sensor;
 7;TINT_NUMBER;TINT NUMBER:;;edit;;;;;right;External temperature sensor serial number;
 8;DATA_TYPE;DATA TYPE:;;edit;;;;;right;Describe data type contained in file, eg: Thermosilinometer data;
-9;DATA_MODE;DATA MODE:;;popupmenu;Delayed mode data|Real time data;1;;;right;Indicate if the file contains real time or delayed mode data;
+9;DATA_MODE;DATA MODE:;;popupmenu;Delayed mode data|Real time data;1;0.1;0.02;right;Indicate if the file contains real time or delayed mode data;
 10;SAMPLING_PERIOD;SAMPLING PERIOD:;;edit;300;;.05;;right;Sampling period in seconds: 6 to 3600;
 11;PROCESSING_STATUS;PROCESSING STATUS:;;edit;;;;;right;State of processing;
 12;DATE_START;DATE_START:;yyyymmddhhmnss;edit;;;;;right;Date of first measurements;
@@ -27,8 +27,8 @@ integer;char;char;char;char;char;integer;integer;integer;char;char;
 22;CITATION;CITATION:;;edit;;;;;right;This citation should be used for publications;
 23;COMMENT;COMMENT:;;edit;;;;;right;;
 24;PROJECT_NAME;PROJECT NAME:;;edit;;;;;right;Name of project which operates the TSG line, ex: ORE-SSS;
-25;PI_NAME;PI NAME:;;popupmenu;IRD-BREST|IRD-NOUMEA|GENAVIR|SHOM|CNRS;1;.1;.014;right;Name of principal investigator in charge of the TSG, ex: IRD or GENAVIR;
+25;PI_NAME;PI NAME:;;popupmenu;IRD-BREST|IRD-NOUMEA|GENAVIR|SHOM|CNRS;1;.1;.02;right;Name of principal investigator in charge of the TSG, ex: IRD or GENAVIR;
 26;DATA_CENTRE;DATA CENTRE:;;edit;;;;;right;Code for data center (2 char);
-27;DATA_ACQUISITION;DATA ACQUISITION:;;popupmenu;IRD|GENAVIR|SHOM|CNRS;1;.1;.014;right;Acquisition data centre, ex: SHOM,IRD,GENAVIR,CNRS,...;
-28;PROCESSING_CENTRE;PROCESSING CENTRE:;;popupmenu;ORE-SSS|CORIOLIS/IRD|CORIOLIS/SISMER;1;.1;.014;right;Processing data centre, ex: ORE-SSS,CORIOLIS,SISMER,...;
+27;DATA_ACQUISITION;DATA ACQUISITION:;;popupmenu;IRD|GENAVIR|SHOM|CNRS;1;.1;.02;right;Acquisition data centre, ex: SHOM,IRD,GENAVIR,CNRS,...;
+28;PROCESSING_CENTRE;PROCESSING CENTRE:;;popupmenu;ORE-SSS|CORIOLIS/IRD|CORIOLIS/SISMER;1;.1;.02;right;Processing data centre, ex: ORE-SSS,CORIOLIS,SISMER,...;
 29;PROCESSING_STATES;PROCESSING STATES:;;edit;;;;;right;Need to be defined, IRD action,...;
diff --git a/tsg_util/headerForm.m b/tsg_util/headerForm.m
index 9ce1e83..ea93f28 100644
--- a/tsg_util/headerForm.m
+++ b/tsg_util/headerForm.m
@@ -72,7 +72,7 @@ for i=1:numel(nca_keys)
     'Parent', hHeaderFig, ...
     'Units', 'normalized', ...
     'Style', 'Text', ...
-    'Fontsize', 11, ...
+    'Fontsize', 10, ...
     'HorizontalAlignment', 'left', ...
     'Position',[left, bottom, .12, .0135], ...
     'TooltipString', char(s.comment), ...
@@ -85,7 +85,7 @@ for i=1:numel(nca_keys)
     'Units', 'normalized', ...
     'BackgroundColor', 'w', ...
     'Style', char(s.uicontrolType), ...
-    'Fontsize', 11, ...
+    'Fontsize', 8, ...
     'HorizontalAlignment', char(s.horizontalAlignment), ...
     'Position',[left+.11, bottom, s.length, s.height], ...
     'String', char(s.string), ...
@@ -98,7 +98,7 @@ for i=1:numel(nca_keys)
     'Parent', hHeaderFig, ...
     'Units', 'normalized', ...
     'Style', 'text', ...
-    'Fontsize', 11, ...
+    'Fontsize', 10, ...
     'HorizontalAlignment', 'left', ...
     'Position',[left+.22, bottom, .1, s.height], ...
     'String', char(s.conventions) );
-- 
GitLab