From acf9d789c73ab5788351a0db537e6fae9e14c7d8 Mon Sep 17 00:00:00 2001 From: Peter Jensen Date: Fri, 19 Jan 2018 13:17:50 +0100 Subject: [PATCH] ui/confirm: correct button positions --- src/trezor/ui/confirm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/trezor/ui/confirm.py b/src/trezor/ui/confirm.py index 5d9c278f7c..2eb381d9e4 100644 --- a/src/trezor/ui/confirm.py +++ b/src/trezor/ui/confirm.py @@ -16,10 +16,10 @@ class ConfirmDialog(Widget): def __init__(self, content, confirm=DEFAULT_CONFIRM, cancel=DEFAULT_CANCEL): self.content = content if cancel is not None: - self.confirm = Button(ui.grid(8, n_x=2), confirm, + self.confirm = Button(ui.grid(9, n_x=2), confirm, normal_style=ui.BTN_CONFIRM, active_style=ui.BTN_CONFIRM_ACTIVE) - self.cancel = Button(ui.grid(9, n_x=2), cancel, + self.cancel = Button(ui.grid(8, n_x=2), cancel, normal_style=ui.BTN_CANCEL, active_style=ui.BTN_CANCEL_ACTIVE) else: