From 18b7178fe6826034eea8c41bd629135783c1bc83 Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 8 Jan 2026 02:05:29 +0300 Subject: [PATCH] top bar update --- ui/main_window.py | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/ui/main_window.py b/ui/main_window.py index e17e05f..9198d07 100644 --- a/ui/main_window.py +++ b/ui/main_window.py @@ -32,25 +32,30 @@ class MainWindow(QMainWindow): # Top bar self.topbar = QWidget() self.topbar.setObjectName("TopBar") + self.topbar.setMinimumHeight(72) top = QHBoxLayout(self.topbar) - top.setContentsMargins(16, 10, 16, 10) - top.setSpacing(10) + top.setContentsMargins(18, 12, 18, 12) + top.setSpacing(12) self.lbl_time = QLabel("--:--") - self.lbl_time.setFont(QFont("", 16, 600)) + self.lbl_time.setFont(QFont("", 20, 700)) chip_bt = QPushButton("BT") chip_bt.setObjectName("IconChip") + chip_bt.setMinimumSize(QSize(60, 40)) chip_wifi = QPushButton("Wi-Fi") chip_wifi.setObjectName("IconChip") + chip_wifi.setMinimumSize(QSize(70, 40)) chip_lte = QPushButton("LTE") chip_lte.setObjectName("IconChip") + chip_lte.setMinimumSize(QSize(60, 40)) self.lbl_vol = QLabel("VOL 45%") - self.lbl_vol.setStyleSheet("color: rgba(138,147,166,0.95); font-size: 14px;") + self.lbl_vol.setStyleSheet("color: rgba(138,147,166,0.95); font-size: 16px;") self.btn_theme = QPushButton("🌙") self.btn_theme.setObjectName("IconChip") + self.btn_theme.setMinimumSize(QSize(48, 40)) self.btn_theme.clicked.connect(self.toggle_theme) top.addWidget(self.lbl_time)