mirror of
https://github.com/savoirfairelinux/jami-client-qt.git
synced 2025-12-17 07:53:24 +08:00
eleutheria: update welcome page for release
GitLab: #1334 Change-Id: Ibe19091076f3b041517f32684a248700c0fce7ff
This commit is contained in:
committed by
Sébastien Blin
parent
afb514ee02
commit
77193b26d9
BIN
resources/images/Background_Don_dark.jpg
Normal file
BIN
resources/images/Background_Don_dark.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 779 KiB |
BIN
resources/images/Background_Don_white.jpg
Normal file
BIN
resources/images/Background_Don_white.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 653 KiB |
@@ -532,6 +532,7 @@ Item {
|
||||
|
||||
// WizardView Welcome Page
|
||||
property real welcomeLabelPointSize: 30
|
||||
property var welcomeLogo: darkTheme ? JamiResources.logo_jami_standard_coul_white_svg : JamiResources.logo_jami_standard_coul_svg
|
||||
property real welcomeLogoWidth: 100
|
||||
property real welcomeLogoHeight: 100
|
||||
property real wizardButtonWidth: 400
|
||||
@@ -543,7 +544,7 @@ Item {
|
||||
property real welcomeGridWidth: 3 * JamiTheme.tipBoxWidth + 2 * JamiTheme.welcomePageSpacing
|
||||
property real welcomeHalfGridWidth: (welcomeGridWidth - JamiTheme.welcomePageSpacing) / 2
|
||||
property real welcomeShortGridWidth: 2 * JamiTheme.tipBoxWidth + JamiTheme.welcomePageSpacing
|
||||
readonly property string welcomeBg: darkTheme ? JamiResources.bg_darkmode_id_jami_png : JamiResources.bg_lightmode_id_jami_png
|
||||
readonly property string welcomeBg: darkTheme ? JamiResources.background_don_dark_jpg : JamiResources.background_don_white_jpg
|
||||
property color welcomeBlockColor: darkTheme ? "#4D000000" : "#4DFFFFFF"
|
||||
|
||||
// WizardView Advanced Account Settings
|
||||
|
||||
@@ -39,8 +39,6 @@ Item {
|
||||
|
||||
property real contentWidth: welcomeInfo.width - 2 * JamiTheme.mainViewMargin
|
||||
|
||||
|
||||
|
||||
function getHeight() {
|
||||
return bgRect.height;
|
||||
}
|
||||
@@ -70,7 +68,6 @@ Item {
|
||||
Loader {
|
||||
id: loader_identifierDescription
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
Layout.preferredWidth: contentWidth
|
||||
Layout.preferredHeight: item ? item.contentHeight : 0
|
||||
Layout.bottomMargin: loader_bottomIdentifier.item ? JamiTheme.mainViewMargin - 10 : 0
|
||||
sourceComponent: {
|
||||
@@ -93,7 +90,6 @@ Item {
|
||||
sourceComponent: JamiIdentifier {
|
||||
backgroundColor: welcomeInfo.idColor
|
||||
contentColor: contentIdColor
|
||||
|
||||
}
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
Layout.preferredHeight: active ? item.getHeight() : 0
|
||||
|
||||
@@ -47,7 +47,7 @@ Item {
|
||||
id: cachedImgLogo
|
||||
objectName: "cachedImgLogo"
|
||||
downloadUrl: logoUrl
|
||||
defaultImage: JamiResources.jami_logo_icon_svg
|
||||
defaultImage: JamiTheme.welcomeLogo
|
||||
visible: welcomeLogo.visible
|
||||
height: parent.height * logoSize
|
||||
width: parent.width * logoSize
|
||||
|
||||
Reference in New Issue
Block a user