ui-improvements
This commit is contained in:
parent
7eaad1b867
commit
5dad14eafb
6 changed files with 15 additions and 10 deletions
|
@ -162,5 +162,5 @@ Component {
|
|||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -319,6 +319,7 @@ FullscreenContentPage {
|
|||
FileDownloader.downloadFile(mediaURL, filename[filename.length-1]);
|
||||
}
|
||||
}
|
||||
|
||||
VerticalScrollDecorator { flickable: imageFlickable }
|
||||
}
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ Item {
|
|||
property string bg: ""
|
||||
|
||||
width: parent.width
|
||||
height: icon.height + Theme.paddingLarge*2
|
||||
height: avatarImage.height + Theme.paddingLarge*2
|
||||
|
||||
Rectangle {
|
||||
id: bgImage
|
||||
|
@ -33,10 +33,10 @@ Item {
|
|||
}
|
||||
|
||||
Image {
|
||||
id: icon
|
||||
id: avatarImage
|
||||
asynchronous: true
|
||||
source:
|
||||
if (icon.status === Image.Error)
|
||||
if (avatarImage.status === Image.Error)
|
||||
source = "../../images/icon-l-profile.svg?" + (pressed
|
||||
? Theme.highlightColor
|
||||
: Theme.primaryColor)
|
||||
|
@ -69,7 +69,7 @@ Item {
|
|||
|
||||
Column {
|
||||
anchors {
|
||||
left: icon.right
|
||||
left: avatarImage.right
|
||||
leftMargin: Theme.paddingLarge
|
||||
right: parent.right
|
||||
rightMargin: Theme.paddingLarge
|
||||
|
|
|
@ -3,9 +3,10 @@ import Sailfish.Silica 1.0
|
|||
|
||||
FullscreenContentPage {
|
||||
id: profileImage
|
||||
allowedOrientations: Orientation.All
|
||||
|
||||
property string image: ""
|
||||
property string image: ""
|
||||
|
||||
allowedOrientations: Orientation.All
|
||||
|
||||
Image {
|
||||
source: image
|
||||
|
|
|
@ -4,11 +4,11 @@ import QtGraphicalEffects 1.0
|
|||
|
||||
|
||||
BackgroundItem {
|
||||
id: delegate
|
||||
|
||||
signal send (string notice)
|
||||
signal navigateTo(string link)
|
||||
|
||||
id: delegate
|
||||
//property string text: "0"
|
||||
width: parent.width
|
||||
height: lblText.paintedHeight + (lblText.text.length > 0 ? Theme.paddingLarge : 0 )+ lblName.paintedHeight + (type.length ? Theme.paddingLarge + iconRT.height : 0) + Theme.paddingLarge
|
||||
|
||||
|
|
|
@ -22,7 +22,10 @@ BackgroundItem {
|
|||
width: parent.width
|
||||
height: parent.height
|
||||
opacity: 0.3
|
||||
color: Theme.highlightBackgroundColor
|
||||
gradient: Gradient {
|
||||
GradientStop { position: -1.5; color: "transparent" }
|
||||
GradientStop { position: 0.6; color: Theme.highlightBackgroundColor }
|
||||
}
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
|
|
Loading…
Reference in a new issue