aboutsummaryrefslogtreecommitdiff
path: root/main/data/conversation_list_titlebar.ui
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2022-05-14 14:45:59 +0200
committerfiaxh <git@lightrise.org>2022-07-27 20:34:20 +0200
commitf44cbe02c17df1f02ad49c63cd784fec0ea02d85 (patch)
tree4cab9b5f84d88769d19b0698e24b318f50b6144e /main/data/conversation_list_titlebar.ui
parent2b3ce5fc95c63ed7d54e207db0585c8b8bbcd603 (diff)
downloaddino-f44cbe02c17df1f02ad49c63cd784fec0ea02d85.tar.gz
dino-f44cbe02c17df1f02ad49c63cd784fec0ea02d85.zip
Improve Gtk4 port
Diffstat (limited to 'main/data/conversation_list_titlebar.ui')
-rw-r--r--main/data/conversation_list_titlebar.ui34
1 files changed, 14 insertions, 20 deletions
diff --git a/main/data/conversation_list_titlebar.ui b/main/data/conversation_list_titlebar.ui
index 36ad0656..b72533e1 100644
--- a/main/data/conversation_list_titlebar.ui
+++ b/main/data/conversation_list_titlebar.ui
@@ -1,48 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
+ <requires lib="gtk" version="4.0"/>
<template class="DinoUiConversationListTitlebar" parent="GtkBox">
- <property name="hexpand">False</property>
- <property name="visible">True</property>
+ <property name="hexpand">0</property>
<style>
<class name="dino-header-left"/>
</style>
<child>
<object class="GtkBox">
- <property name="margin">5</property>
- <property name="hexpand">True</property>
- <property name="visible">True</property>
+ <property name="margin-start">5</property>
+ <property name="margin-end">5</property>
+ <property name="margin-top">5</property>
+ <property name="margin-bottom">5</property>
+ <property name="hexpand">1</property>
<child>
<object class="GtkMenuButton" id="add_button">
- <property name="tooltip_text" translatable="yes">Start Conversation</property>
- <property name="relief">none</property>
- <property name="visible">True</property>
+ <property name="tooltip_text" translatable="1">Start Conversation</property>
+ <property name="has-frame">False</property>
<child>
<object class="GtkImage">
- <property name="visible">True</property>
<property name="icon-name">list-add-symbolic</property>
- <property name="icon-size">1</property>
+ <property name="icon-size">normal</property>
</object>
</child>
</object>
- <packing>
- <property name="pack_type">start</property>
- </packing>
</child>
<child>
<object class="GtkMenuButton" id="menu_button">
- <property name="relief">none</property>
- <property name="visible">True</property>
+ <property name="halign">end</property>
+ <property name="hexpand">True</property>
+ <property name="has-frame">False</property>
<child>
<object class="GtkImage">
- <property name="visible">True</property>
<property name="icon-name">open-menu-symbolic</property>
- <property name="icon-size">1</property>
+ <property name="icon-size">normal</property>
</object>
</child>
</object>
- <packing>
- <property name="pack_type">end</property>
- </packing>
</child>
</object>
</child>