~pkunal-parmar/ubuntu-calendar-app/Minor-Performance

« back to all changes in this revision

Viewing changes to EventDetailsInfo.qml

  • Committer: Kunal Parmar
  • Date: 2014-10-23 15:07:17 UTC
  • Revision ID: pkunal.parmar@gmail.com-20141023150717-xh3261dqwkz5dm7h
calculation

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
import QtQuick 2.0
2
 
import Ubuntu.Components 0.1
3
 
import Ubuntu.Components.Themes.Ambiance 0.1
4
 
Item
5
 
{
6
 
   property alias header: header.text
7
 
   property alias value: value.text
8
 
   property string headerColor :"black"
9
 
   property string detailColor :"grey"
10
 
   property int xMargin
11
 
   property int headerWidth: header.width
12
 
   width: parent.width
13
 
   height: header.height
14
 
   Label{
15
 
      id: header
16
 
      color: headerColor
17
 
      font.bold: true
18
 
      fontSize: "medium"
19
 
      anchors.left: parent.left
20
 
   }
21
 
   Label{
22
 
        id:value
23
 
        x: xMargin + units.gu(1)
24
 
        color: detailColor
25
 
        fontSize: "medium"
26
 
   }
27
 
}