Align log level column text in center
This commit is contained in:
parent
b5e04f3d80
commit
f21ca6638d
@ -430,6 +430,13 @@ class LevelColumn (TextColumn):
|
|||||||
label_header = _("L")
|
label_header = _("L")
|
||||||
id = LazyLogModel.COL_LEVEL
|
id = LazyLogModel.COL_LEVEL
|
||||||
|
|
||||||
|
def __init__ (self):
|
||||||
|
|
||||||
|
TextColumn.__init__ (self)
|
||||||
|
|
||||||
|
cell = self.view_column.get_cells ()[0]
|
||||||
|
cell.props.xalign = .5
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def get_modify_func ():
|
def get_modify_func ():
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user