summaryrefslogtreecommitdiff
path: root/Course/Detail/Classic/Content/Sidebar
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-30 12:28:26 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-03-30 12:28:26 +0800
commitefd20960ce3003d461d9c1d95912a2aad6abf51f (patch)
treea72366b3f1115e1f30fa9e9980e2ab763b8ee349 /Course/Detail/Classic/Content/Sidebar
parentaf65e3444e638557a5a15d9722dc93ef65470760 (diff)
Outline primary button & its use
Diffstat (limited to 'Course/Detail/Classic/Content/Sidebar')
-rw-r--r--Course/Detail/Classic/Content/Sidebar/Video.ui.qml26
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 {