[recipes] Improve featured cuisine tile
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [recipes] Improve featured cuisine tile
- Date: Sun, 12 Feb 2017 16:33:09 +0000 (UTC)
commit b506e9cc710143f58a445c0e50b8c22b058b3243
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Feb 12 11:13:12 2017 -0500
Improve featured cuisine tile
Allow more text to show on the big tile.
src/gr-cuisine-tile.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gr-cuisine-tile.c b/src/gr-cuisine-tile.c
index e0d8b34..59a9de2 100644
--- a/src/gr-cuisine-tile.c
+++ b/src/gr-cuisine-tile.c
@@ -73,8 +73,8 @@ cuisine_tile_set_cuisine (GrCuisineTile *tile,
gtk_label_set_label (GTK_LABEL (tile->description), description);
if (big) {
gtk_label_set_lines (GTK_LABEL (tile->description), 3);
- gtk_label_set_width_chars (GTK_LABEL (tile->description), 60);
- gtk_label_set_max_width_chars (GTK_LABEL (tile->description), 60);
+ gtk_label_set_width_chars (GTK_LABEL (tile->description), 85);
+ gtk_label_set_max_width_chars (GTK_LABEL (tile->description), 85);
}
context = gtk_widget_get_style_context (GTK_WIDGET (tile));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]