Pack status icons together
This commit is contained in:
parent
9e75284f5f
commit
a48c518c52
1 changed files with 3 additions and 3 deletions
|
@ -166,8 +166,8 @@ class StatusIconBox(Gauge):
|
|||
if icon is not None:
|
||||
icon.draw(cr, self.x + x, self.y + y)
|
||||
|
||||
x += self.ICON_WIDTH
|
||||
x += self.ICON_WIDTH
|
||||
|
||||
if x >= self.width:
|
||||
x = 0
|
||||
if x >= self.width:
|
||||
x = 0
|
||||
y -= self.ICON_HEIGHT
|
||||
|
|
Loading…
Add table
Reference in a new issue