Integrated file selection dialogue with the main code. Improved the
[openvpnui.git] / qml / filebrowse / components / DoubleMenuItem.qml
1 import QtQuick 2.0
2 import Sailfish.Silica 1.0
3
4 // This component creates a menu item with two lines
5 MenuItem {
6     property string subtext: ""
7
8     Label {
9         visible: subtext !== ""
10         anchors.horizontalCenter: parent.horizontalCenter
11         anchors.bottom: parent.bottom
12         text: subtext
13         color: Theme.secondaryColor
14         font.pixelSize: Theme.fontSizeExtraSmall
15     }
16 }