[gnome-mines] Fixed diamonds in the grid. https://bugzilla.gnome.org/show_bug.cgi?id=732590
- From: Robert Roth <robertroth src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-mines] Fixed diamonds in the grid. https://bugzilla.gnome.org/show_bug.cgi?id=732590
- Date: Tue, 1 Jul 2014 23:09:15 +0000 (UTC)
commit 5d04636e47141cb7c4a050d9d5f75424d8c46155
Author: Robert Roth <robert roth off gmail com>
Date: Wed Jul 2 02:08:21 2014 +0300
Fixed diamonds in the grid.
https://bugzilla.gnome.org/show_bug.cgi?id=732590
Fixed diamonds in the grid by removing the transparent border and
adding row and column spacing instead.
data/gnome-mines.css.in | 4 ++--
src/minefield-view.vala | 2 ++
2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/data/gnome-mines.css.in b/data/gnome-mines.css.in
index 9fbd361..0b30f6e 100644
--- a/data/gnome-mines.css.in
+++ b/data/gnome-mines.css.in
@@ -11,7 +11,7 @@ Changes are applied instantly and globally, for the whole application.
background-image:none;
background-color:#babdb6;
border-color:@theme_bg_color;
- border-radius:5px; /* border width might be affecting */
+ border-radius:4px; /* border width might be affecting */
color:transparent;
border-image:none;
font-size:16px;
@@ -21,7 +21,7 @@ Changes are applied instantly and globally, for the whole application.
padding:0px;
background-repeat: no-repeat;
box-shadow:none;
- border-width:2px;
+ border-width:0px;
}
.tile:hover {
diff --git a/src/minefield-view.vala b/src/minefield-view.vala
index bb21d1e..96bdf2e 100644
--- a/src/minefield-view.vala
+++ b/src/minefield-view.vala
@@ -225,7 +225,9 @@ public class MinefieldView : Gtk.Grid
{
this.settings = settings;
row_homogeneous = true;
+ row_spacing = 4;
column_homogeneous = true;
+ column_spacing = 4;
set_events (Gdk.EventMask.KEY_PRESS_MASK | Gdk.EventMask.KEY_RELEASE_MASK);
can_focus = true;
expand = true;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]