Refactoring/change application text (#687)

Changing some texts
This commit is contained in:
Shehab Ahmed 2024-03-26 20:05:04 +02:00 committed by GitHub
parent 7730dd510c
commit 5f631eaa76
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
23 changed files with 1814 additions and 1657 deletions

View file

@ -0,0 +1,51 @@
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import "TextTypes"
Rectangle {
property string textColor: "#D7D8DB"
property string backGroundColor: "#1C1D21"
property string textString
property string iconPath
property real iconWidth: 16
property real iconHeight: 16
color: backGroundColor
radius: 8
implicitHeight: content.implicitHeight + content.anchors.topMargin + content.anchors.bottomMargin
RowLayout {
id: content
width: parent.width
anchors.fill: parent
anchors.leftMargin: 16
anchors.rightMargin: 16
anchors.topMargin: 8
anchors.bottomMargin: 8
spacing: 0
Image {
Layout.alignment: Qt.AlignTop
width: iconWidth
height: iconHeight
source: iconPath
}
CaptionTextType {
id: supportingText
Layout.fillWidth: true
Layout.leftMargin: 8
text: textString
color: textColor
}
}
}