[gnome-text-editor] propertiesdialog: make sizing more strict



commit b990e505c027247e1d71bc127beaceb8f201994b
Author: Christian Hergert <chergert redhat com>
Date:   Wed Jan 5 16:49:06 2022 -0800

    propertiesdialog: make sizing more strict
    
    We don't need it to resize and risk the chance libadwaita requests more
    size than we need. 360 is chosen from 720p/2.

 src/editor-properties-dialog.ui | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/editor-properties-dialog.ui b/src/editor-properties-dialog.ui
index a7c8cd7..a364e9f 100644
--- a/src/editor-properties-dialog.ui
+++ b/src/editor-properties-dialog.ui
@@ -3,6 +3,8 @@
   <requires lib="gtk" version="4.0"/>
   <template class="EditorPropertiesDialog" parent="GtkWindow">
     <property name="title" translatable="yes">Properties</property>
+    <property name="resizable">false</property>
+    <property name="default-width">360</property>
     <style>
       <class name="org-gnome-TextEditor"/>
       <class name="properties-dialog"/>


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