mirror of
https://git.yoctoproject.org/poky
synced 2026-02-21 00:49:41 +01:00
lib/bb/ui/crumbs/hobwidget: use light text in HobIndicator
Dark text on a dark background is difficult to read. Further the design document uses white text. (Bitbake rev: a84304ccf06a012817a5e6495d53147efcbed960) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
44a40f7a56
commit
9e59dea411
@@ -445,7 +445,7 @@ class HobIndicator(gtk.DrawingArea):
|
||||
x = (w/2)-(textw/2) + 1
|
||||
y = (h/2) - (texth/2) + 1
|
||||
ctx.move_to(x, y)
|
||||
self.window.draw_layout(self.style.fg_gc[gtk.STATE_NORMAL], int(x), int(y), layout)
|
||||
self.window.draw_layout(self.style.light_gc[gtk.STATE_NORMAL], int(x), int(y), layout)
|
||||
|
||||
def set_count(self, count):
|
||||
self.count = count
|
||||
|
||||
Reference in New Issue
Block a user