Now About Social Code
aboutsummaryrefslogtreecommitdiff
path: root/src/gtk/message.ui
diff options
context:
space:
mode:
authorLucas Fryzek <lucas.fryzek@fryzekconcepts.com>2024-10-08 18:10:39 +0100
committerLucas Fryzek <lucas.fryzek@fryzekconcepts.com>2024-10-08 18:13:41 +0100
commit138543d4b3a9c1543bf54b55149d648edb8c4bf2 (patch)
tree226e21d8ee03e40c7a58df0bc59dae13f6a560c8 /src/gtk/message.ui
parentec8822c913652cad2b8ed31bd6bb513c641c3d11 (diff)
Update requested width+height to be more friendly with mobile linux
Also fix rendering error with messages at low window widths. Co-authored-by: Peter <peter@linmob.net>
Diffstat (limited to 'src/gtk/message.ui')
-rw-r--r--src/gtk/message.ui32
1 files changed, 6 insertions, 26 deletions
diff --git a/src/gtk/message.ui b/src/gtk/message.ui
index dca0237..9619342 100644
--- a/src/gtk/message.ui
+++ b/src/gtk/message.ui
@@ -3,10 +3,6 @@
<requires lib="gtk" version="4.0"/>
<template class="WeegtkMessage" parent="GtkBox">
<property name="orientation">horizontal</property>
- <property name="valign">start</property>
- <property name="halign">start</property>
- <!-- <property name="margin-top">2</property> -->
- <!-- <property name="margin-bottom">2</property> -->
<style>
<class name="message"/>
</style>
@@ -18,17 +14,17 @@
<property name="margin-start">10</property>
<property name="margin-end">10</property>
<property name="valign">start</property>
+ <property name="halign">start</property>
</object>
</child>
<child>
<object class="GtkBox" id="MessageText">
- <property name="orientation">1</property>
- <property name="valign">1</property>
- <property name="halign">1</property>
+ <property name="orientation">vertical</property>
+ <property name="halign">start</property>
<child>
<object class="GtkLabel" id="username">
<property name="label" translatable="true">Username</property>
- <property name="halign">1</property>
+ <property name="halign">start</property>
<property name="selectable">true</property>
<style>
<class name="username"/>
@@ -37,27 +33,11 @@
</child>
<child>
<object class="GtkBox" id="message_list">
- <property name="orientation">1</property>
- <property name="valign">1</property>
- <property name="halign">1</property>
- <!-- <child> -->
- <!-- <object class="GtkLabel" id="message"> -->
- <!-- <property name="label" translatable="true">This is the the message that some user sent</property> -->
- <!-- <property name="halign">1</property> -->
- <!-- <property name="selectable">true</property> -->
- <!-- <property name="wrap">true</property> -->
- <!-- <property name="halign">0</property> -->
- <!-- <property name="hexpand">true</property> -->
- <!-- <property name="hexpand-set">true</property> -->
- <!-- <property name="xalign">0</property> -->
- <!-- <style> -->
- <!-- <class name="message"/> -->
- <!-- </style> -->
- <!-- </object> -->
- <!-- </child> -->
+ <property name="orientation">vertical</property>
</object>
</child>
</object>
</child>
</template>
</interface>
+