# HG changeset patch
# User Yuki KODAMA <[email protected]>
# Date 1252085715 -32400
# Node ID ee32cd7b56065b0d0cfcd40b2d5c3cec816ae776
# Parent  ef6f54e8c90391489087ea82ca6687d14531b734
status, gtklib: improve UI layout

diff --git a/hggtk/gtklib.py b/hggtk/gtklib.py
--- a/hggtk/gtklib.py
+++ b/hggtk/gtklib.py
@@ -76,14 +76,13 @@
         gtk.HBox.__init__(self)
         self.pbar = gtk.ProgressBar()
         self.sttext = gtk.Label("")
-        self.sttext.set_ellipsize(pango.ELLIPSIZE_END)
         self.sttext.set_alignment(0, 0.5)

         self.pbox = gtk.HBox()
         self.pbox.pack_start(gtk.VSeparator(), False, False)
         self.pbox.pack_start(self.pbar, False, False)

-        self.pack_start(self.sttext, padding=1)
+        self.pack_start(self.sttext, padding=4)
         if extra:
             self.pack_end(extra, False, False)
         self.pack_end(self.pbox, False, False, padding=1)
diff --git a/hggtk/status.py b/hggtk/status.py
--- a/hggtk/status.py
+++ b/hggtk/status.py
@@ -423,10 +423,14 @@

         self.stbar = gtklib.StatusBar()

+        rightbox = gtk.VBox()
+        rightbox.pack_start(self.counter)
+        rightbox.pack_start(self.stbar, False, False)
+
         hbox = gtk.HBox()
-        hbox.pack_start(table, expand=False)
-        hbox.pack_start(self.stbar, False, False, 2)
-        hbox.pack_end(self.counter, expand=True, padding=2)
+        hbox.pack_start(table, False, False)
+        hbox.pack_start(gtk.Label(''), True, True, 2)
+        hbox.pack_end(rightbox, False, False, 2)

         return hbox

Attachment: thg-kuy_rev3836.patch
Description: Binary data

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Tortoisehg-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to