Browse Source

Use tighter layout

Matthias Vogelgesang 7 years ago
parent
commit
b0ac0d6399
1 changed files with 3 additions and 3 deletions
  1. 3 3
      cockpit

+ 3 - 3
cockpit

@@ -273,7 +273,7 @@ class Application(object):
         return True
 
     def on_flat_correct(self):
-        self.log.highlight("Compute flat field correction, please wait ...")
+        self.log.highlight("Flat field correction ...")
         info = self.read_info()
         data = dict(path=self.config.destination, prefix=self.prefix, num=info['TOMO_N'], step=1)
 
@@ -356,8 +356,8 @@ class Application(object):
         top_pane = screen.subwin(1, width, 0, 0)
         bottom_pane = screen.subwin(height - 1, width, 1, 0)
 
-        left_pane = bottom_pane.subwin(height - 1, width / 2, 1, 0)
-        right_pane = bottom_pane.subwin(height - 1, width / 2, 1, width / 2)
+        left_pane = bottom_pane.subwin(height - 1, width / 3, 1, 0)
+        right_pane = bottom_pane.subwin(height - 1, 2 * width / 3, 1, width / 3)
 
         status_bar = StatusBar(top_pane, colors)
         status_bar.update('Cockpit')