SmallButtonStyle.qml 612 Bytes
Newer Older
1
pragma Singleton
2
import QtQml 2.2
3

4
import Colors 1.0
5
import Units 1.0
6

7
// =============================================================================
Ronan's avatar
Ronan committed
8

9
QtObject {
10 11 12
  property int leftPadding: 5
  property int rightPadding: 5

13 14 15 16 17
  property QtObject background: QtObject {
    property int height: 22
    property int radius: 10

    property QtObject color: QtObject {
Ronan's avatar
Ronan committed
18 19
      property color hovered: Colors.c
      property color normal: Colors.f
20
      property color pressed: Colors.i
21 22 23 24
    }
  }

  property QtObject text: QtObject {
25
    property color color: Colors.k
26
    property int pointSize: Units.dp * 8
27 28
  }
}