[fractal] content-room-history: Increase clamp sizes a bit
- From: Julian Sparber <jsparber src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [fractal] content-room-history: Increase clamp sizes a bit
- Date: Fri, 1 Apr 2022 14:40:44 +0000 (UTC)
commit d7e89d516f8024a42c6091389808f6bc0be6d571
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Thu Mar 31 18:53:29 2022 -0300
content-room-history: Increase clamp sizes a bit
But not too much.
These values are somewhat arbitrary, but they make Fractal's chat
history average between 65~80 characters wide on default GNOME with
Cantarell. This seems to make it much more pleasant to use.
data/resources/ui/content-room-history.ui | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/data/resources/ui/content-room-history.ui b/data/resources/ui/content-room-history.ui
index 92a2cd960..cdf883f9e 100644
--- a/data/resources/ui/content-room-history.ui
+++ b/data/resources/ui/content-room-history.ui
@@ -75,6 +75,8 @@
<property name="child">
<object class="AdwClamp">
<property name="hexpand">True</property>
+ <property name="maximum-size">750</property>
+ <property name="tightening-threshold">550</property>
<child>
<object class="GtkSearchEntry"/>
</child>
@@ -166,6 +168,8 @@
<object class="AdwClampScrollable">
<property name="vexpand">True</property>
<property name="hexpand">True</property>
+ <property name="maximum-size">750</property>
+ <property name="tightening-threshold">550</property>
<property name="child">
<object class="GtkListView" id="listview">
<style>
@@ -198,6 +202,8 @@
<child>
<object class="AdwClamp">
<property name="vexpand">False</property>
+ <property name="maximum-size">750</property>
+ <property name="tightening-threshold">550</property>
<child>
<object class="GtkBox">
<style>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]