From 6c94a6bc5f273bf5269eb606715d70167bbc7292 Mon Sep 17 00:00:00 2001 From: HomeWorld Date: Wed, 20 Jul 2011 16:20:34 +0300 Subject: [PATCH] Even more small 'improvements' in ship browser --- gui/shipBrowser.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gui/shipBrowser.py b/gui/shipBrowser.py index 99ce58825..3de772624 100644 --- a/gui/shipBrowser.py +++ b/gui/shipBrowser.py @@ -244,6 +244,8 @@ class RaceSelector(wx.Window): mdc.DrawBitmap(dropShadow, rect.width - self.buttonsPadding - bmp.GetWidth() + 1, y + 1) mdc.DrawBitmap(bmp, rect.width - self.buttonsPadding - bmp.GetWidth(), y) y+=raceBmp.GetHeight() + self.buttonsPadding + mdc.SetPen(wx.Pen(sepColor,1)) + mdc.DrawLine(rect.width - 1, 0, rect.width -1, rect.height) else: mdc.DrawBitmap(dropShadow, x + 1, self.buttonsPadding + 1) mdc.DrawBitmap(bmp, x, self.buttonsPadding) @@ -255,6 +257,8 @@ class RaceSelector(wx.Window): if self.layout == wx.VERTICAL: mdc.DrawBitmap(self.bmpArrow, -2, (rect.height - self.bmpArrow.GetHeight()) / 2) else: + mdc.SetPen(wx.Pen(sepColor,1)) + mdc.DrawLine(0, 0, rect.width, 0) mdc.DrawBitmap(self.bmpArrow, (rect.width - self.bmpArrow.GetWidth()) / 2, -2)