From e1eede27c6d7d5fadc5092349b45f629d1d6f7a3 Mon Sep 17 00:00:00 2001 From: Oscar Alvarez Date: Mon, 28 Dec 2020 22:59:14 -0500 Subject: [PATCH] Minor fixes --- app/commons/custom_button.py | 1 - app/css/flat_button_large.css | 8 ++++++-- app/css/flat_button_small.css | 5 ++++- app/mainwindow.py | 2 +- 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/app/commons/custom_button.py b/app/commons/custom_button.py index b63f582..1c6056b 100644 --- a/app/commons/custom_button.py +++ b/app/commons/custom_button.py @@ -90,7 +90,6 @@ class CustomButton(QPushButton): label_custom_button.setObjectName('label_custom_button') rows.append(label_custom_button) - print('XXXXX', len(rows)) if len(rows) == 1: pass elif len(rows) > 1: diff --git a/app/css/flat_button_large.css b/app/css/flat_button_large.css index 13b0e9d..70a4c54 100644 --- a/app/css/flat_button_large.css +++ b/app/css/flat_button_large.css @@ -23,8 +23,10 @@ #label_title { font : 12pt; min-height : 32px; - width: 120px; color: rgb(70, 70, 70); + padding-left: 0px; + padding-right: 0px; + text-align: center; } #label_custom_button { @@ -37,6 +39,7 @@ margin-right: auto; color: rgb(70, 70, 70); text-align: center; + width: 100%; } #label_icon { @@ -90,7 +93,8 @@ color: rgb(80, 80, 80); background-color: white; max-height: 80px; - max-width : 130px; + /* max-width : 130px; */ + width: 100%; border-width: 0px; text-align: center; } diff --git a/app/css/flat_button_small.css b/app/css/flat_button_small.css index 718922e..79b86d4 100644 --- a/app/css/flat_button_small.css +++ b/app/css/flat_button_small.css @@ -34,8 +34,10 @@ #label_title { font : 8pt; min-height : 32px; - width: 120px; color: rgb(102, 102, 102); + padding-left: 0px; + padding-right: 0px; + text-align: center; } #label_custom_button { @@ -48,6 +50,7 @@ margin-right: auto; color: rgb(70, 70, 70); text-align: center; + width: 100%; } #label_icon { diff --git a/app/mainwindow.py b/app/mainwindow.py index 89b1165..be79860 100644 --- a/app/mainwindow.py +++ b/app/mainwindow.py @@ -287,7 +287,7 @@ class MainWindow(FrontWindow): id='button_start', size=self.screen_size, icon=get_icon('start_front'), - title=self.tr('INICIO'), + title=self.tr('START'), method='see_start_front', name_style='mini_button', )