client: tweaks for lower desktop resolutions

Fix #1164 again
This commit is contained in:
Cédric Bellegarde 2023-08-20 23:03:24 +02:00
parent 5f72b9f4bc
commit d47e357b2c
4 changed files with 4 additions and 5 deletions

View file

@ -106,8 +106,8 @@ public class ConversationList.View : Gtk.ScrolledWindow, Geary.BaseInterface {
}
public override void get_preferred_width(out int minimum_size, out int natural_size) {
minimum_size = 300;
natural_size = 500;
minimum_size = 150;
natural_size = 200;
}
/**

View file

@ -153,7 +153,7 @@ public class ConversationViewer : Gtk.Stack, Geary.BaseInterface {
public override void get_preferred_width(out int minimum_size, out int natural_size) {
minimum_size = 300;
natural_size = 700;
natural_size = 500;
}
/**

View file

@ -50,7 +50,7 @@ public class FolderList.Tree : Sidebar.Tree, Geary.BaseInterface {
public override void get_preferred_width(out int minimum_size, out int natural_size) {
minimum_size = 300;
natural_size = 500;
natural_size = 400;
}
public void set_has_new(Geary.Folder folder, bool has_new) {

View file

@ -4,7 +4,6 @@
<requires lib="gtk+" version="3.20"/>
<template class="ComponentsConversationListHeaderBar" parent="HdyHeaderBar">
<property name="visible">True</property>
<property name="hexpand">True</property>
<child>
<object class="GtkButton" id="back_button">
<property name="receives_default">False</property>