From 25c76a296182fbdea259f4d1f30ef930a850cc04 Mon Sep 17 00:00:00 2001 From: "IT\\Administrator" <951937200@qq.com> Date: Fri, 25 Jul 2025 16:46:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D1080p=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E7=95=8C=E9=9D=A2=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Static/Main.qss | 35 ++++++++++++++++++++--------------- 1 file changed, 20 insertions(+), 15 deletions(-) diff --git a/Static/Main.qss b/Static/Main.qss index eb2b904..c195519 100644 --- a/Static/Main.qss +++ b/Static/Main.qss @@ -264,19 +264,19 @@ QPushButton#mesButton:pressed QPushButton#setButton{ - width: 54.75px; - height: 40px; + + min-height: 33px; background-color: #2277EF; - border-radius: 20px; + border-radius: 5px; color: #FFFFFF; font-family: ".SFNSDisplay-Medium"; - font-size: 25px; + font-size: 20px; font-weight: 520; } @@ -338,9 +338,9 @@ QLabel#setlabel, QLabel#mesLabel{ border: none; - width: 239px; + min-width: 180px; - height: 40px; + min-height: 30px; border-radius: 5px; @@ -362,7 +362,12 @@ QLabel#tcpLable, QLabel#rtuLable{ border: none; - width: 239px; +/* width: 239px; + + height: 40px; +*/ + + width: 200px; height: 40px; @@ -462,9 +467,9 @@ QLineEdit#setEdit{ border: 1px solid #dddddd; - width: 239px; + min-width: 180px; - height: 49px; + min-height: 29px; border-radius: 5px; @@ -474,7 +479,7 @@ QLineEdit#setEdit{ font-family: ".SFNSDisplay-Regular"; - font-size: 28px; + font-size: 20px; font-weight: 520; } @@ -722,9 +727,9 @@ QComboBox#setBox{ border: 1px solid #dddddd; - width: 239px; + min-width: 180px; - height: 49px; + min-height: 29px; border-radius: 5px; @@ -734,7 +739,7 @@ QComboBox#setBox{ font-family: "SFNSDisplay-Regular"; - font-size: 28px; + font-size: 20px; font-weight: 520; @@ -817,7 +822,7 @@ QComboBox#setBox QAbstractItemView{ border: none; - font-size: 28px; + font-size: 20px; outline: 0px; @@ -845,7 +850,7 @@ QComboBox#setBox QAbstractItemView::item{ height: 49px; - font-size: 28px; + font-size: 20px; padding-left : 10px;