From f96f9d5e58fb181d6f2789562471d015d38f4a4d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 9 Mar 2018 02:59:54 +0300 Subject: Add own skin for pincode keyboard buttons. Also resize pincode dialog if pincode control too big. --- src/gui/widgets/pincode.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/widgets/pincode.cpp') diff --git a/src/gui/widgets/pincode.cpp b/src/gui/widgets/pincode.cpp index e0f0ce3d8..6d826e3e2 100644 --- a/src/gui/widgets/pincode.cpp +++ b/src/gui/widgets/pincode.cpp @@ -97,7 +97,7 @@ void Pincode::addButtons() mButtons[f] = new Button(this, str, str, - BUTTON_SKIN, + BUTTON_PIN_SKIN, this); mButtons[f]->adjustSize(); const Rect &rect = mButtons[f]->getDimension(); @@ -126,7 +126,7 @@ void Pincode::addButtons() // TRANSLATORS: clear pin code button _("Clear"), "clear", - BUTTON_SKIN, + BUTTON_PIN_SKIN, this); mButtons[10]->adjustSize(); add(mButtons[10]); -- cgit v1.2.3-70-g09d2