[gnome-characters] characterList: Prefer height-for-width sizing



commit e5c731203ebead2437eeff61ba9610b0834a15c9
Author: Daiki Ueno <dueno src gnome org>
Date:   Mon Feb 16 17:35:33 2015 +0900

    characterList: Prefer height-for-width sizing

 src/characterList.js |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/characterList.js b/src/characterList.js
index 951e10e..dde4582 100644
--- a/src/characterList.js
+++ b/src/characterList.js
@@ -110,6 +110,10 @@ const CharacterListWidget = new Lang.Class({
             this.emit('character-selected', this._characters[index]);
     },
 
+    vfunc_get_request_mode: function() {
+        return Gtk.SizeRequestMode.HEIGHT_FOR_WIDTH;
+    },
+
     vfunc_get_preferred_height: function() {
         let [minWidth, natWidth] = this.vfunc_get_preferred_width();
         return this.vfunc_get_preferred_height_for_width(minWidth);


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