mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-26 23:32:03 +00:00
ui/word_select: fix btns styles
This commit is contained in:
parent
fac8932a85
commit
ea6763c4ec
@ -15,17 +15,13 @@ class WordSelector(Widget):
|
|||||||
def __init__(self, content):
|
def __init__(self, content):
|
||||||
self.content = content
|
self.content = content
|
||||||
self.w12 = Button(ui.grid(8, n_y=4, n_x=4, cells_x=2), str(_W12),
|
self.w12 = Button(ui.grid(8, n_y=4, n_x=4, cells_x=2), str(_W12),
|
||||||
normal_style=ui.BTN_KEY,
|
style=ui.BTN_KEY)
|
||||||
active_style=ui.BTN_KEY_ACTIVE)
|
|
||||||
self.w15 = Button(ui.grid(10, n_y=4, n_x=4, cells_x=2), str(_W15),
|
self.w15 = Button(ui.grid(10, n_y=4, n_x=4, cells_x=2), str(_W15),
|
||||||
normal_style=ui.BTN_KEY,
|
style=ui.BTN_KEY)
|
||||||
active_style=ui.BTN_KEY_ACTIVE)
|
|
||||||
self.w18 = Button(ui.grid(12, n_y=4, n_x=4, cells_x=2), str(_W18),
|
self.w18 = Button(ui.grid(12, n_y=4, n_x=4, cells_x=2), str(_W18),
|
||||||
normal_style=ui.BTN_KEY,
|
style=ui.BTN_KEY)
|
||||||
active_style=ui.BTN_KEY_ACTIVE)
|
|
||||||
self.w24 = Button(ui.grid(14, n_y=4, n_x=4, cells_x=2), str(_W24),
|
self.w24 = Button(ui.grid(14, n_y=4, n_x=4, cells_x=2), str(_W24),
|
||||||
normal_style=ui.BTN_KEY,
|
style=ui.BTN_KEY)
|
||||||
active_style=ui.BTN_KEY_ACTIVE)
|
|
||||||
|
|
||||||
def render(self):
|
def render(self):
|
||||||
self.w12.render()
|
self.w12.render()
|
||||||
|
Loading…
Reference in New Issue
Block a user