Draw status icons from bottom up
This commit is contained in:
parent
4745176c03
commit
9e75284f5f
1 changed files with 2 additions and 2 deletions
|
@ -157,7 +157,7 @@ class StatusIconBox(Gauge):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def draw_fg(self, cr: cairo.Context):
|
def draw_fg(self, cr: cairo.Context):
|
||||||
x, y = 0, 0
|
x, y = 0, self.height - self.ICON_HEIGHT
|
||||||
|
|
||||||
for status_value in self.icons:
|
for status_value in self.icons:
|
||||||
icon = self.icons[status_value]
|
icon = self.icons[status_value]
|
||||||
|
@ -170,4 +170,4 @@ class StatusIconBox(Gauge):
|
||||||
|
|
||||||
if x >= self.width:
|
if x >= self.width:
|
||||||
x = 0
|
x = 0
|
||||||
y += self.ICON_HEIGHT
|
y -= self.ICON_HEIGHT
|
||||||
|
|
Loading…
Add table
Reference in a new issue