[gnome-maps/gnome-3-14] sidebar: Fix alignment of instruction icons
- From: Mattias Bengtsson <mattiasb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps/gnome-3-14] sidebar: Fix alignment of instruction icons
- Date: Mon, 13 Oct 2014 08:31:05 +0000 (UTC)
commit 64b2c0f659e0718666948c126c67f421bf12b98b
Author: Jonas Danielsson <jonas danielsson threetimestwo org>
Date: Mon Oct 13 03:22:53 2014 -0400
sidebar: Fix alignment of instruction icons
The start/stop icons are 16x16 and the direction hints are
32x32. To ensure aligmnent in the instruction list we need
to make sure the GtkImage always has a 32x32 width.
https://bugzilla.gnome.org/show_bug.cgi?id=727688
src/sidebar.ui | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/sidebar.ui b/src/sidebar.ui
index 1ee5e67..2a19d40 100644
--- a/src/sidebar.ui
+++ b/src/sidebar.ui
@@ -259,6 +259,8 @@
<property name="can_focus">False</property>
<property name="margin-start">2</property>
<property name="margin-end">2</property>
+ <!-- width: 32 + spacing * 2 -->
+ <property name="width-request">44</property>
</object>
<packing>
<property name="expand">False</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]