[chronojump] Better method for resize genericWindow



commit 39b580a962721a99012cea62e365049c70225e70
Author: Xavier de Blas <xaviblas gmail com>
Date:   Wed Aug 5 16:09:30 2020 +0200

    Better method for resize genericWindow

 src/gui/genericWindow.cs | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/src/gui/genericWindow.cs b/src/gui/genericWindow.cs
index 34fa68e0..cef664ca 100644
--- a/src/gui/genericWindow.cs
+++ b/src/gui/genericWindow.cs
@@ -389,6 +389,12 @@ public class GenericWindow
        public void SetSize(int width, int height) {
                generic_window.SetDefaultSize(width, height);
        }
+
+       //this works (but can resize lower than needed)
+       public void SetSizeRequest(int width, int height) {
+               generic_window.SetSizeRequest(width, height);
+       }
+
        
        public void SetTreeviewSize(int width, int height) {
                treeview.SetSizeRequest(width, height);


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