From 98363542d3df2e147e3016eb3e8bd77fa01a451b Mon Sep 17 00:00:00 2001 From: zhuzihcu Date: Wed, 19 Apr 2023 16:58:54 +0800 Subject: [PATCH] update --- example/AppInfo.cpp | 2 +- example/page/AboutPage.qml | 4 ++++ src/controls/FluTextButton.qml | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/example/AppInfo.cpp b/example/AppInfo.cpp index a01a1d0a..7d423e01 100644 --- a/example/AppInfo.cpp +++ b/example/AppInfo.cpp @@ -6,7 +6,7 @@ AppInfo::AppInfo(QObject *parent) : QObject{parent} { - version("1.2.5"); + version("1.2.6"); lang(new En()); } diff --git a/example/page/AboutPage.qml b/example/page/AboutPage.qml index f0dce354..c19e1067 100644 --- a/example/page/AboutPage.qml +++ b/example/page/AboutPage.qml @@ -66,6 +66,8 @@ FluWindow { } FluTextButton{ id:text_hublink + topPadding:0 + bottomPadding:0 text:"https://github.com/zhuzichu520/FluentUI" Layout.alignment: Qt.AlignBottom onClicked: { @@ -81,6 +83,8 @@ FluWindow { text:"B站:" } FluTextButton{ + topPadding:0 + bottomPadding:0 text:"https://www.bilibili.com/video/BV1mg4y1M71w/" Layout.alignment: Qt.AlignBottom onClicked: { diff --git a/src/controls/FluTextButton.qml b/src/controls/FluTextButton.qml index 9d041413..55941d86 100644 --- a/src/controls/FluTextButton.qml +++ b/src/controls/FluTextButton.qml @@ -12,8 +12,8 @@ FluControl { property bool textBold: true id: control - topPadding:5 - bottomPadding:5 + topPadding:0 + bottomPadding:0 leftPadding:0 rightPadding:0 enabled: !disabled