[gnome-maps] LayersPopover: layout adjustments
- From: Mattias Bengtsson <mattiasb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps] LayersPopover: layout adjustments
- Date: Wed, 11 Jun 2014 21:02:51 +0000 (UTC)
commit 6363cd8ce988a58990b5343ec3dc40132c09d580
Author: Mattias Bengtsson <mattias jc bengtsson gmail com>
Date: Wed Jun 11 05:54:19 2014 +0200
LayersPopover: layout adjustments
See to it that the margins are the same in the layerpopover as in the
searchpopover. Also make the radio buttons centered, and go back to
having the default border-radius (since the popovers are rounded too).
https://bugzilla.gnome.org/show_bug.cgi?id=731498
data/gnome-maps.css | 1 -
src/layers-popover.ui | 9 +++++----
2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/data/gnome-maps.css b/data/gnome-maps.css
index d8b0601..6536534 100644
--- a/data/gnome-maps.css
+++ b/data/gnome-maps.css
@@ -14,7 +14,6 @@
background-image: none;
padding: 0px;
border: 2px solid @insensitive_borders;
- border-radius: 0px;
-GtkWidget-focus-line-width: 1;
-GtkWidget-focus-padding: 1;
-GtkButton-image-spacing: 0;
diff --git a/src/layers-popover.ui b/src/layers-popover.ui
index f0c221e..c90f241 100644
--- a/src/layers-popover.ui
+++ b/src/layers-popover.ui
@@ -4,11 +4,13 @@
<object class="GtkGrid" id="grid">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="halign">center</property>
+ <property name="valign">center</property>
+ <property name="row_spacing">5</property>
<child>
<object class="GtkRadioButton" id="street-layer-button">
<property name="visible">True</property>
<property name="can-focus">True</property>
- <property name="margin">2</property>
<property name="action-name">win.map-type</property>
<property name="action-target">"STREET"</property>
<property name="draw-indicator">False</property>
@@ -25,7 +27,7 @@
<packing>
<property name="left-attach">0</property>
<property name="top-attach">0</property>
- <property name="width">3</property>
+ <property name="width">1</property>
<property name="height">1</property>
</packing>
</child>
@@ -33,7 +35,6 @@
<object class="GtkRadioButton" id="aerial-layer-button">
<property name="visible">True</property>
<property name="can-focus">True</property>
- <property name="margin">2</property>
<property name="action-name">win.map-type</property>
<property name="action-target">"AERIAL"</property>
<property name="draw-indicator">False</property>
@@ -50,7 +51,7 @@
<packing>
<property name="left-attach">0</property>
<property name="top-attach">1</property>
- <property name="width">3</property>
+ <property name="width">1</property>
<property name="height">1</property>
</packing>
</child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]