[gnome-calendar/wip/flb/weather-forecast: 18/50] weather: week: Add space between icon and temperature
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar/wip/flb/weather-forecast: 18/50] weather: week: Add space between icon and temperature
- Date: Tue, 31 Oct 2017 08:19:20 +0000 (UTC)
commit c6dbf66af3b2e4f846f995531ec9cfebb1473607
Author: Florian Brosch <flo brosch gmail com>
Date: Fri Oct 13 00:16:24 2017 +0200
weather: week: Add space between icon and temperature
src/views/gcal-week-header.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/views/gcal-week-header.c b/src/views/gcal-week-header.c
index 8a9c706..5579b1b 100644
--- a/src/views/gcal-week-header.c
+++ b/src/views/gcal-week-header.c
@@ -1364,7 +1364,7 @@ gcal_week_header_draw (GtkWidget *widget,
* Its height is derived from day name and numbers. The icon sticks on
* the very top and the temperature on its base.
*/
- gint icon_size = day_num_font_height;
+ gint icon_size = day_num_font_height - 3; /* available space - space between temperature and icon
*/
gint temp_width = 0;
gint temp_height = 0;
gint temp_baseline = 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]