[the-board/sound-thing] [things] Set Label's minimum height to 0 (zero)



commit a8bb8fb871eeeca5f476789fcb829ce7da33a559
Author: Lucas Rocha <lucasr gnome org>
Date:   Wed Jan 5 16:12:02 2011 +0000

    [things] Set Label's minimum height to 0 (zero)
    
    Handles height updates for different font sizes correctly.

 src/js/ui/things/label.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/js/ui/things/label.js b/src/js/ui/things/label.js
index 9c554db..b81d659 100644
--- a/src/js/ui/things/label.js
+++ b/src/js/ui/things/label.js
@@ -22,7 +22,7 @@ function create(args) {
     args.initialWidth = 150;
     args.initialHeight = 50;
     args.minWidth = 150;
-    args.minHeight = 50;
+    args.minHeight = 0;
 
     args.style = new Mx.Style();
     args.style.load_from_file(STYLE);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]