From 01ff81b4cfe1749f685f33798c3394f62180353f Mon Sep 17 00:00:00 2001 From: liuxinhao Date: Wed, 3 Aug 2022 17:15:21 +0800 Subject: [PATCH 2/2] refactor(systeminfo): update systeminfo plugin dialog style MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 更新统一系统信息页面插件弹窗风格样式 Closes #I5H3YX --- .../change-host-name-widget.ui | 60 ++++++++++++++++--- .../system-information/license-agreement.ui | 51 ++++++++++++---- 2 files changed, 91 insertions(+), 20 deletions(-) diff --git a/plugins/system/src/pages/system-information/change-host-name-widget.ui b/plugins/system/src/pages/system-information/change-host-name-widget.ui index f56bb94..a677bbc 100644 --- a/plugins/system/src/pages/system-information/change-host-name-widget.ui +++ b/plugins/system/src/pages/system-information/change-host-name-widget.ui @@ -122,7 +122,7 @@ - 58 + 0 0 @@ -136,18 +136,31 @@ 0 + + + + Qt::Horizontal + + + + 40 + 20 + + + + - 192 - 60 + 110 + 40 - 192 - 60 + 110 + 40 @@ -155,18 +168,34 @@ + + + + Qt::Horizontal + + + QSizePolicy::Fixed + + + + 40 + 20 + + + + - 192 - 60 + 110 + 40 - 192 - 60 + 110 + 40 @@ -174,6 +203,19 @@ + + + + Qt::Horizontal + + + + 40 + 20 + + + + diff --git a/plugins/system/src/pages/system-information/license-agreement.ui b/plugins/system/src/pages/system-information/license-agreement.ui index 83f20d2..727cc85 100644 --- a/plugins/system/src/pages/system-information/license-agreement.ui +++ b/plugins/system/src/pages/system-information/license-agreement.ui @@ -76,15 +76,15 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'Noto Sans CJK SC'; font-size:9pt; font-weight:400; font-style:normal;"> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html> +</style></head><body style=" font-family:'Noto Sans CJK SC'; font-size:10pt; font-weight:400; font-style:normal;"> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:9pt;"><br /></p></body></html> - 24 + 0 24 @@ -92,18 +92,31 @@ p, li { white-space: pre-wrap; } 24 + + + + Qt::Horizontal + + + + 40 + 20 + + + + - 252 - 60 + 110 + 40 - 252 - 60 + 110 + 40 @@ -116,6 +129,9 @@ p, li { white-space: pre-wrap; } Qt::Horizontal + + QSizePolicy::Fixed + 40 @@ -134,14 +150,14 @@ p, li { white-space: pre-wrap; } - 252 - 60 + 110 + 40 - 252 - 60 + 110 + 40 @@ -149,6 +165,19 @@ p, li { white-space: pre-wrap; } + + + + Qt::Horizontal + + + + 40 + 20 + + + + -- 2.33.0