widgets: Use theme colours for text labels
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
This commit is contained in:
parent
0ab34249fa
commit
75a1a15f45
1 changed files with 2 additions and 0 deletions
|
@ -226,6 +226,7 @@ class Checkbox():
|
|||
draw = wasp.watch.drawable
|
||||
im = self._im
|
||||
if im[2]:
|
||||
draw.set_color(wasp.system.theme('bright'))
|
||||
draw.set_font(fonts.sans24)
|
||||
draw.string(im[2], im[0], im[1]+6)
|
||||
self.update()
|
||||
|
@ -353,6 +354,7 @@ class Spinner():
|
|||
"""Update the spinner value."""
|
||||
draw = watch.drawable
|
||||
im = self._im
|
||||
draw.set_color(wasp.system.theme('bright'))
|
||||
draw.set_font(fonts.sans28)
|
||||
s = str(self.value)
|
||||
if len(s) < im[4]:
|
||||
|
|
Loading…
Reference in a new issue