From 1cd3e4c1daa4ad59853fc65c8edddab91f2c0c43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Thu, 23 Mar 2023 22:12:42 +0800 Subject: Merge Bootstrap properties to Eduport --- Button/Btn.ui.qml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'Button/Btn.ui.qml') diff --git a/Button/Btn.ui.qml b/Button/Btn.ui.qml index cdf730b..f841b54 100644 --- a/Button/Btn.ui.qml +++ b/Button/Btn.ui.qml @@ -1,25 +1,25 @@ import QtQuick 2.15 import QtQuick.Controls 2.15 -import Bootstrap 5.3 +import Eduport 1.4 Button { id: button - horizontalPadding: Bootstrap.btnPaddingX - verticalPadding: Bootstrap.btnPaddingY - font: Bootstrap.btnFont + horizontalPadding: Eduport.bsBtnPaddingX + verticalPadding: Eduport.bsBtnPaddingY + font: Eduport.bsBtnFont contentItem: Text { text: button.text font: button.font - color: Bootstrap.btnColor + color: Eduport.bsBtnColor horizontalAlignment: Text.AlignHCenter verticalAlignment: Text.AlignVCenter } background: Rectangle { - color: Bootstrap.btnBg + color: Eduport.bsBtnBg border { - width: Bootstrap.btnBorderWidth - color: Bootstrap.btnBorderColor + width: Eduport.bsBtnBorderWidth + color: Eduport.bsBtnBorderColor } - radius: Bootstrap.btnBorderRadius + radius: Eduport.bsBtnBorderRadius } } -- cgit v1.2.3