Even more small 'improvements' in ship browser

This commit is contained in:
HomeWorld
2011-07-20 16:20:34 +03:00
parent 25ac625839
commit 6c94a6bc5f

View File

@@ -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)