diff options
author | anatasof wirapraja <anatasof.wirapraja@gmail.com> | 2023-04-06 18:18:34 +0700 |
---|---|---|
committer | anatasof wirapraja <anatasof.wirapraja@gmail.com> | 2023-04-06 18:18:34 +0700 |
commit | 2fcd3e709905cbf6e6989fb1563885d711940de7 (patch) | |
tree | 0bd556fe0c4d3c44c52705cd7d2a3653b721c95b | |
parent | 394d33a78f814d5ec1a07b09538b9a8f30da944b (diff) |
indentation and add some layout maximum width
-rw-r--r-- | Shop/ProductDetail/RightSidebar.ui.qml | 107 |
1 files changed, 52 insertions, 55 deletions
diff --git a/Shop/ProductDetail/RightSidebar.ui.qml b/Shop/ProductDetail/RightSidebar.ui.qml index 5643e34..1281876 100644 --- a/Shop/ProductDetail/RightSidebar.ui.qml +++ b/Shop/ProductDetail/RightSidebar.ui.qml @@ -8,60 +8,57 @@ import "../../DropShadow" import "../../Label" ColumnLayout { - id: mainContent - spacing: 16 - H1 { - id: title - text: "HTML and CSS: Design and Build Websites (Paperback)" - wrapMode: Text.Wrap - anchors.leftMargin: 0 - anchors.rightMargin: 0 - Layout.fillWidth: true - Layout.maximumWidth: parent.width - } - RowLayout { - id: rating - spacing: 0 - H2 { - id: ratingScore - text: "4.5" - } - ColumnLayout { - id: ratingInformation - Layout.leftMargin: 16 - Layout.fillWidth: true - Image { - source: "../../Font-Awesome/svgs/solid/star.svg" - sourceSize.height: 14 - sourceSize.width: 14 - fillMode: Image.PreserveAspectFit - } + id: mainContent + spacing: 16 + H1 { + id: title + text: "HTML and CSS: Design and Build Websites (Paperback)" + wrapMode: Text.Wrap + Layout.maximumWidth: parent.width + } + RowLayout { + id: rating + spacing: 0 + H2 { + id: ratingScore + text: "4.5" + } + ColumnLayout { + id: ratingInformation + Layout.leftMargin: 16 + Image { + source: "../../Font-Awesome/svgs/solid/star.svg" + sourceSize.height: 14 + sourceSize.width: 14 + fillMode: Image.PreserveAspectFit + } - Body { - text: "Reviews from our buyers" - Layout.fillWidth: true - } - } - } - RowLayout { - Label { - text: "checkable radio will be here" - } - } - H4 { - text: "Description" - } - Body { - text: "Satisfied conveying a dependent contented he gentleman agreeable do be. Warrant private blushes removed an in equally totally if. Delivered dejection necessary objection do Mr prevailed. Mr feeling does chiefly cordial in do. <br><br>We focus a great deal on the understanding of behavioral psychology and influence triggers which are crucial for becoming a well-rounded Digital Marketer. We understand that theory is important to build a solid foundation, we understand that theory alone isn't going to get the job done so that's why this course is packed with practical hands-on examples that you can follow step by step." - wrapMode: Text.Wrap - } - RowLayout { - Label { - text: "Additional info with list group will be here" - } - } - Body { - text: "Crucial for becoming a well-rounded Digital Marketer. We understand that theory is important to build a solid foundation, we understand that theory alone isn't going to get the job done so that's why this course is packed with practical hands-on examples that you can follow step by step." - wrapMode: Text.Wrap - } + Body { + text: "Reviews from our buyers" + } + } + } + RowLayout { + Label { + text: "checkable radio will be here" + } + } + H4 { + text: "Description" + } + Body { + text: "Satisfied conveying a dependent contented he gentleman agreeable do be. Warrant private blushes removed an in equally totally if. Delivered dejection necessary objection do Mr prevailed. Mr feeling does chiefly cordial in do. <br><br>We focus a great deal on the understanding of behavioral psychology and influence triggers which are crucial for becoming a well-rounded Digital Marketer. We understand that theory is important to build a solid foundation, we understand that theory alone isn't going to get the job done so that's why this course is packed with practical hands-on examples that you can follow step by step." + wrapMode: Text.Wrap + Layout.maximumWidth: parent.width + } + RowLayout { + Label { + text: "Additional info with list group will be here" + } + } + Body { + text: "Crucial for becoming a well-rounded Digital Marketer. We understand that theory is important to build a solid foundation, we understand that theory alone isn't going to get the job done so that's why this course is packed with practical hands-on examples that you can follow step by step." + wrapMode: Text.Wrap + Layout.maximumWidth: parent.width + } } |