[balsa/wip/gmime3: 140/197] Expand lists in address book window
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa/wip/gmime3: 140/197] Expand lists in address book window
- Date: Wed, 23 May 2018 21:24:08 +0000 (UTC)
commit f1fd397da84d43ed805b3cb338b7821761c26139
Author: Albrecht Dreß <albrecht dress arcor de>
Date: Sat Dec 2 18:51:56 2017 -0500
Expand lists in address book window
* src/ab-window.c (balsa_ab_window_init): use GtkWidget's
hexpand and vexpand functions to properly expand the
address lists in the address book window when the dialogue is
enlarged.
Signed-off-by: Peter Bloomfield <PeterBloomfield bellsouth net>
ChangeLog | 9 +++++++++
src/ab-window.c | 5 +++++
2 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index a68dd29..e95bdff 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2017-12-02 Albrecht Dreß <albrecht dress arcor de>
+
+ Expand lists in address book window
+
+ * src/ab-window.c (balsa_ab_window_init): use GtkWidget's
+ hexpand and vexpand functions to properly expand the
+ address lists in the address book window when the dialogue is
+ enlarged.
+
2017-11-26 Peter Bloomfield <pbloomfield bellsouth net>
Do not crash if no spell-checker dictionaries are found
diff --git a/src/ab-window.c b/src/ab-window.c
index 5beb702..b1a7527 100644
--- a/src/ab-window.c
+++ b/src/ab-window.c
@@ -309,6 +309,8 @@ balsa_ab_window_init(BalsaAbWindow *ab)
/* A scrolled window for the address clist */
scrolled_window = gtk_scrolled_window_new(NULL, NULL);
+ gtk_widget_set_vexpand(scrolled_window, TRUE);
+ gtk_widget_set_hexpand(scrolled_window, TRUE);
gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolled_window),
GTK_POLICY_AUTOMATIC,
GTK_POLICY_AUTOMATIC);
@@ -342,6 +344,7 @@ balsa_ab_window_init(BalsaAbWindow *ab)
/* Column for arrows in compose mode */
ab->arrow_box = gtk_box_new(GTK_ORIENTATION_VERTICAL, 5);
gtk_widget_set_vexpand(ab->arrow_box, TRUE);
+ gtk_widget_set_hexpand(ab->arrow_box, FALSE);
gtk_grid_attach(GTK_GRID(grid), ab->arrow_box, 1, 1, 1, 1);
gtk_widget_show(ab->arrow_box);
@@ -369,6 +372,8 @@ balsa_ab_window_init(BalsaAbWindow *ab)
/* list for selected addresses in compose mode */
ab->send_to_list = gtk_scrolled_window_new(NULL, NULL);
+ gtk_widget_set_vexpand(ab->send_to_list, TRUE);
+ gtk_widget_set_hexpand(ab->send_to_list, TRUE);
gtk_widget_show(ab->send_to_list);
gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(ab->send_to_list),
GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]