Version 0.002 nicer like button

This commit is contained in:
LubuWest 2017-01-29 17:57:55 +01:00
parent d8186978e7
commit 9f9a9f618c
3 changed files with 9 additions and 7 deletions

Binary file not shown.

View file

@ -166,7 +166,8 @@ Item {
color:control.checked?"yellow":"white" color:control.checked?"yellow":"white"
x: 5*mm x: 5*mm
Text{ Text{
font.pixelSize: 3*mm anchors.centerIn: parent
font.pixelSize: 2*mm
color:"grey" color:"grey"
text:":-)" text:":-)"
}} }}
@ -193,7 +194,8 @@ Item {
color:control.checked?"yellow":"white" color:control.checked?"yellow":"white"
x:5*mm x:5*mm
Text{ Text{
font.pixelSize: 3*mm anchors.centerIn: parent
font.pixelSize: 2*mm
color:"grey" color:"grey"
text:":-(" text:":-("
}} }}

View file

@ -10,9 +10,7 @@ Item {
width: newsView.width width: newsView.width
height:Math.max((itemMessage.height+topFlow.height+friendicaActivities.height+4*mm),profileImage.height+user_name.height+mm) height:Math.max((itemMessage.height+topFlow.height+friendicaActivities.height+4*mm),profileImage.height+user_name.height+mm)
//property string conversation_id: ""
property string attending: "" property string attending: ""
onAttendingChanged: {attendLabel.visible=true; onAttendingChanged: {attendLabel.visible=true;
attendLabel.text= qsTr("attending: ")+ qsTr(attending)} attendLabel.text= qsTr("attending: ")+ qsTr(attending)}
@ -168,7 +166,8 @@ Item {
color:control.checked?"yellow":"white" color:control.checked?"yellow":"white"
x: 5*mm x: 5*mm
Text{ Text{
font.pixelSize: 3*mm anchors.centerIn: parent
font.pixelSize: 2*mm
color:"grey" color:"grey"
text:":-)" text:":-)"
}} }}
@ -195,7 +194,8 @@ Item {
color:control.checked?"yellow":"white" color:control.checked?"yellow":"white"
x:5*mm x:5*mm
Text{ Text{
font.pixelSize: 3*mm anchors.centerIn: parent
font.pixelSize: 2*mm
color:"grey" color:"grey"
text:":-(" text:":-("
}} }}
@ -268,7 +268,7 @@ Item {
//visible: false //visible: false
color: "grey" color: "grey"
height:3.5*mm height:3.5*mm
font.pixelSize: 2*mm font.pixelSize: 1.5*mm
horizontalAlignment: Label.AlignRight horizontalAlignment: Label.AlignRight
text: (friendica_activities.self.attending)?(qsTr("Attending: ")+ qsTr(friendica_activities.self.attending)):"" text: (friendica_activities.self.attending)?(qsTr("Attending: ")+ qsTr(friendica_activities.self.attending)):""
} }