@@ -142,11 +142,13 @@ class ControlPanel {
142142 public void open (){
143143 isOpen = true ;
144144 topNav. controlPanelCollapser. setOn();
145+ topNav. setDropdownMenuIsOpen(true );
145146 }
146147
147148 public void close (){
148149 isOpen = false ;
149150 topNav. controlPanelCollapser. setOff();
151+ topNav. setDropdownMenuIsOpen(false );
150152 }
151153
152154 public String getWifiSearchStyle () {
@@ -492,6 +494,7 @@ class SerialBox {
492494
493495 private void createAutoConnectButton (String name , String text , int _x , int _y , int _w , int _h ) {
494496 autoConnectButton = createSBButton(name, text, _x, _y, _w, _h);
497+ autoConnectButton. setColorBackground(TURN_ON_GREEN );
495498 autoConnectButton. onRelease(new CallbackListener () {
496499 public void controlEvent (CallbackEvent theEvent ) {
497500 controlPanel. comPortBox. attemptAutoConnectCyton();
@@ -999,7 +1002,7 @@ class WifiBox {
9991002 .setPosition(x + 90 , y + 100 )
10001003 .setCaptionLabel(" " )
10011004 .setSize(w - padding* 2 , 26 )
1002- .setFont(f2 )
1005+ .setFont(createFont ( " Arial " , 15 , true ) )
10031006 .setFocus(false )
10041007 .setColor(color (26 , 26 , 26 ))
10051008 .setColorBackground(color (255 , 255 , 255 )) // text field bg color
@@ -1295,7 +1298,7 @@ class SessionDataBox {
12951298 .setPosition(x + 60 , y + 32 )
12961299 .setCaptionLabel(" " )
12971300 .setSize(187 , 26 )
1298- .setFont(f2 )
1301+ .setFont(createFont ( " Arial " , 15 , true ) )
12991302 .setFocus(false )
13001303 .setColor(color (26 , 26 , 26 ))
13011304 .setColorBackground(color (255 , 255 , 255 )) // text field bg color
@@ -2097,7 +2100,7 @@ class GaleaBox {
20972100 .setPosition(x + w - padding* 2 - 60 * 2 , y + 16 + padding* 2 )
20982101 .setCaptionLabel(" " )
20992102 .setSize(120 + padding, 26 )
2100- .setFont(f2 )
2103+ .setFont(createFont ( " Arial " , 15 , true ) )
21012104 .setFocus(false )
21022105 .setColor(color (26 , 26 , 26 ))
21032106 .setColorBackground(color (255 , 255 , 255 )) // text field bg color
@@ -2296,7 +2299,7 @@ class BrainFlowStreamerBox {
22962299 .setPosition(x + padding * 3 , y + HEADER_H + padding* 2 )
22972300 .setCaptionLabel(" " )
22982301 .setSize(120 , OBJECT_H )
2299- .setFont(f2 )
2302+ .setFont(createFont ( " Arial " , 15 , true ) )
23002303 .setFocus(false )
23012304 .setColor(color (26 , 26 , 26 ))
23022305 .setColorBackground(color (255 , 255 , 255 )) // text field bg color
@@ -2327,7 +2330,7 @@ class BrainFlowStreamerBox {
23272330 .setPosition(x + padding* 5 + w/ 2 , y + HEADER_H + padding* 2 )
23282331 .setCaptionLabel(" " )
23292332 .setSize(50 , OBJECT_H )
2330- .setFont(f2 )
2333+ .setFont(createFont ( " Arial " , 15 , true ) )
23312334 .setFocus(false )
23322335 .setColor(color (26 , 26 , 26 ))
23332336 .setColorBackground(color (255 , 255 , 255 )) // text field bg color
@@ -2527,7 +2530,7 @@ class StreamingBoardBox {
25272530 .setPosition(x + padding * 3 , y + headerH + padding* 2 )
25282531 .setCaptionLabel(" " )
25292532 .setSize(w / 3 , objectH)
2530- .setFont(f2 )
2533+ .setFont(createFont ( " Arial " , 15 , true ) )
25312534 .setFocus(false )
25322535 .setColor(color (26 , 26 , 26 ))
25332536 .setColorBackground(color (255 , 255 , 255 )) // text field bg color
@@ -2544,7 +2547,7 @@ class StreamingBoardBox {
25442547 .setPosition(x + padding* 5 + w/ 2 , y + headerH + padding* 2 )
25452548 .setCaptionLabel(" " )
25462549 .setSize(w / 5 + padding, objectH)
2547- .setFont(f2 )
2550+ .setFont(createFont ( " Arial " , 15 , true ) )
25482551 .setFocus(false )
25492552 .setColor(color (26 , 26 , 26 ))
25502553 .setColorBackground(color (255 , 255 , 255 )) // text field bg color
0 commit comments