[gnome-calculator] Resize window after switching mode



commit a48e8012a320377122f861574815e778451f6ba0
Author: joshas <joshas gmail com>
Date:   Thu Feb 18 21:02:45 2021 +0200

    Resize window after switching mode

 src/math-window.vala | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/math-window.vala b/src/math-window.vala
index 8dd0d728..122aacbf 100644
--- a/src/math-window.vala
+++ b/src/math-window.vala
@@ -124,6 +124,8 @@ public class MathWindow : Hdy.ApplicationWindow
             remove_buttons = true;
             converter.show ();
         }
+
+        resize (1, 1);
     }
 
     public void critical_error (string title, string contents)


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