parent
5ee6cc19ec
commit
186b5a6d7b
5 changed files with 15 additions and 13 deletions
|
|
@ -105,6 +105,11 @@ 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;
|
||||
}
|
||||
|
||||
/**
|
||||
* Updates the display of the received time on each list row.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -151,6 +151,11 @@ public class ConversationViewer : Gtk.Stack, Geary.BaseInterface {
|
|||
base_unref();
|
||||
}
|
||||
|
||||
public override void get_preferred_width(out int minimum_size, out int natural_size) {
|
||||
minimum_size = 300;
|
||||
natural_size = 700;
|
||||
}
|
||||
|
||||
/**
|
||||
* Puts the view into composer mode, showing a full-height composer.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -48,6 +48,11 @@ public class FolderList.Tree : Sidebar.Tree, Geary.BaseInterface {
|
|||
base_unref();
|
||||
}
|
||||
|
||||
public override void get_preferred_width(out int minimum_size, out int natural_size) {
|
||||
minimum_size = 300;
|
||||
natural_size = 500;
|
||||
}
|
||||
|
||||
public void set_has_new(Geary.Folder folder, bool has_new) {
|
||||
FolderEntry? entry = get_folder_entry(folder);
|
||||
if (entry != null) {
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
<interface>
|
||||
<requires lib="gtk+" version="3.24"/>
|
||||
<template class="ConversationListView" parent="GtkScrolledWindow">
|
||||
<property name="width-request">250</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can-focus">False</property>
|
||||
<child>
|
||||
|
|
|
|||
12
ui/geary.css
12
ui/geary.css
|
|
@ -8,22 +8,10 @@
|
|||
|
||||
/* MainWindow */
|
||||
|
||||
.geary-folder {
|
||||
min-width: 300px;
|
||||
}
|
||||
|
||||
geary-conversation-list revealer {
|
||||
margin: 6px;
|
||||
}
|
||||
|
||||
geary-conversation-list {
|
||||
min-width: 360px;
|
||||
}
|
||||
|
||||
geary-conversation-viewer {
|
||||
min-width: 360px;
|
||||
}
|
||||
|
||||
.geary-overlay {
|
||||
background-color: @theme_base_color;
|
||||
padding: 2px 6px;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue