Now About Social Code
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas Fryzek <lucas.fryzek@fryzekconcepts.com>2024-10-05 23:44:19 +0100
committerLucas Fryzek <lucas.fryzek@fryzekconcepts.com>2024-10-05 23:44:19 +0100
commitd68dbc893c4b76627b28b189b870aedddcad55bb (patch)
treea987f8330dbae904177b715c28e99abc679447da
parent6199578ed18101c2245b3f2b28e0e579b6e59833 (diff)
window: Fix breakpoint related resizing error
-rw-r--r--src/gtk/chat.ui4
-rw-r--r--src/window.ui3
2 files changed, 4 insertions, 3 deletions
diff --git a/src/gtk/chat.ui b/src/gtk/chat.ui
index 1b7c52a..233c362 100644
--- a/src/gtk/chat.ui
+++ b/src/gtk/chat.ui
@@ -26,7 +26,7 @@
<property name="child">
<object class="AdwClampScrollable">
<property name="maximum-size">750</property>
- <property name="tightening-threshold">550</property>
+ <property name="tightening-threshold">500</property>
<property name="vexpand">True</property>
<property name="hexpand">True</property>
<property name="child">
@@ -46,7 +46,7 @@
<child>
<object class="AdwClamp">
<property name="maximum-size">750</property>
- <property name="tightening-threshold">550</property>
+ <property name="tightening-threshold">500</property>
<property name="child">
<object class="GtkBox">
<property name="margin-top">5</property>
diff --git a/src/window.ui b/src/window.ui
index 3072280..efc7d87 100644
--- a/src/window.ui
+++ b/src/window.ui
@@ -18,9 +18,10 @@
<property name="title" translatable="yes">Weegtk</property>
<property name="default_width">800</property>
<property name="default_height">576</property>
+ <!-- <property name="width-request">501</property> -->
<child>
<object class="AdwBreakpoint">
- <condition>max-width: 500sp</condition>
+ <condition>max-width: 560</condition>
<setter object="split_view" property="collapsed">True</setter>
</object>
</child>