diff options
Diffstat (limited to 'Course/Detail/Classic/Content/Sidebar')
-rw-r--r-- | Course/Detail/Classic/Content/Sidebar/Video.ui.qml | 26 |
1 files changed, 2 insertions, 24 deletions
diff --git a/Course/Detail/Classic/Content/Sidebar/Video.ui.qml b/Course/Detail/Classic/Content/Sidebar/Video.ui.qml index b0b4974..8b261a8 100644 --- a/Course/Detail/Classic/Content/Sidebar/Video.ui.qml +++ b/Course/Detail/Classic/Content/Sidebar/Video.ui.qml @@ -6,6 +6,7 @@ import QtMultimedia 5.15 import Eduport 1.4 import "../../../../../Label" as Lbl import "../../../../../Button" as Btn +import "../../../../../Button/Outline" as BtnOutline ColumnLayout { property alias image: image @@ -126,32 +127,9 @@ ColumnLayout { Layout.fillWidth: true spacing: 16 - Button { + BtnOutline.Primary { id: trial - horizontalPadding: 16 - verticalPadding: 8 text: qsTr("Free trial") - font: Eduport.bsBtnFont - contentItem: Text { - horizontalAlignment - : Text - .AlignHCenter - text: trial.text - font: trial.font - color: trial.down - ? "#ffffff" - : "#066ac9" - } - background: Rectangle { - radius: 5.2 - color: trial.down - ? "#066ac9" - : "#ffffff" - border { - color: "#066ac9" - width: 1 - } - } } Btn.Success { |