36 lines
1.4 KiB
Diff
36 lines
1.4 KiB
Diff
From 629484ecf00a137de94f7e38d46da094866902c0 Mon Sep 17 00:00:00 2001
|
|
From: Juanjo <juanjo.ng.83@gmail.com>
|
|
Date: Mon, 31 Dec 2012 11:47:07 +0100
|
|
Subject: [PATCH 013/249] The space between the group name and the sprite is
|
|
set to 2 instead of 8. Less unused space.
|
|
|
|
---
|
|
src/group_gui.cpp | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/src/group_gui.cpp b/src/group_gui.cpp
|
|
index 3048f17..d8dbadd 100644
|
|
--- a/src/group_gui.cpp
|
|
+++ b/src/group_gui.cpp
|
|
@@ -191,7 +191,7 @@ private:
|
|
this->tiny_step_height += WD_MATRIX_TOP;
|
|
|
|
return WD_FRAMERECT_LEFT + 8 +
|
|
- this->column_size[VGC_NAME].width + 8 +
|
|
+ this->column_size[VGC_NAME].width + 2 +
|
|
this->column_size[VGC_PROTECT].width + 2 +
|
|
this->column_size[VGC_AUTOREPLACE].width + 2 +
|
|
this->column_size[VGC_PROFIT].width + 2 +
|
|
@@ -235,7 +235,7 @@ private:
|
|
DrawString(x, x + this->column_size[VGC_NAME].width - 1, y + (this->tiny_step_height - this->column_size[VGC_NAME].height) / 2, str, colour);
|
|
|
|
/* draw autoreplace protection */
|
|
- x = rtl ? x - 8 - this->column_size[VGC_PROTECT].width : x + 8 + this->column_size[VGC_NAME].width;
|
|
+ x = rtl ? x - 2 - this->column_size[VGC_PROTECT].width : x + 2 + this->column_size[VGC_NAME].width;
|
|
if (protection) DrawSprite(SPR_GROUP_REPLACE_PROTECT, PAL_NONE, x, y + (this->tiny_step_height - this->column_size[VGC_PROTECT].height) / 2);
|
|
|
|
/* draw autoreplace status */
|
|
--
|
|
1.8.1.2
|
|
|