Add red color icon

This commit is contained in:
DarkPhoenix
2019-08-06 10:08:07 +03:00
parent ac5768e666
commit 6b77d72f06
2 changed files with 4 additions and 5 deletions

View File

@@ -31,14 +31,13 @@ class LineColor(ViewColumn):
def __init__(self, fittingView, params):
ViewColumn.__init__(self, fittingView)
self.resizable = False
self.size = 16
self.size = 20
self.maxsize = self.size
self.mask = wx.LIST_MASK_TEXT
def getText(self, stuff):
if isinstance(stuff, SourceWrapper):
return ''
return ''
def getImageId(self, stuff):
red = self.fittingView.imageList.GetImageIndex('color_red', 'gui')
return red
def getToolTip(self, stuff):
if isinstance(stuff, SourceWrapper):

BIN
imgs/gui/color_red.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB