[gnome-applets/wip/segeiger/height-for-width: 1/7] Fix title not centered vertically on horizontal panels
- From: Sebastian Geiger <segeiger src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-applets/wip/segeiger/height-for-width: 1/7] Fix title not centered vertically on horizontal panels
- Date: Tue, 14 Jul 2015 15:58:03 +0000 (UTC)
commit c45b23ad083ce170da20b96cdf0ddcea533a1362
Author: Sebastian Geiger <sbastig gmx net>
Date: Tue Jul 14 16:48:21 2015 +0200
Fix title not centered vertically on horizontal panels
windowpicker/src/task-title.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/windowpicker/src/task-title.c b/windowpicker/src/task-title.c
index 633d8a9..3789499 100644
--- a/windowpicker/src/task-title.c
+++ b/windowpicker/src/task-title.c
@@ -311,6 +311,7 @@ static gboolean on_draw (
static GtkWidget *getTitleLabel() {
GtkWidget *label = gtk_label_new (_("Home"));
+ gtk_widget_set_vexpand (label, TRUE);
gtk_label_set_ellipsize (GTK_LABEL (label), PANGO_ELLIPSIZE_END);
gtk_label_set_xalign (GTK_LABEL (label), 0.0);
PangoAttrList *attr_list = pango_attr_list_new ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]