aboutsummaryrefslogtreecommitdiff
path: root/components/StandardDropdown.qml
diff options
context:
space:
mode:
authorSander Ferdinand <sa.ferdinand@gmail.com>2018-03-31 03:25:20 +0200
committerSander Ferdinand <sa.ferdinand@gmail.com>2018-03-31 03:25:20 +0200
commite638ed0272ca042f3ad77b680665a91ed8a35cce (patch)
tree1c91223dd243221d644a0b22d2dc94563b264fdf /components/StandardDropdown.qml
parent959c2fcc32d515f90cb39933689a37418197a095 (diff)
downloadmonzero-gui-e638ed0272ca042f3ad77b680665a91ed8a35cce.tar.gz
monzero-gui-e638ed0272ca042f3ad77b680665a91ed8a35cce.tar.xz
monzero-gui-e638ed0272ca042f3ad77b680665a91ed8a35cce.zip
Explicitly import MoneroComponents; prevent namespace pollution
Diffstat (limited to 'components/StandardDropdown.qml')
-rw-r--r--components/StandardDropdown.qml9
1 files changed, 5 insertions, 4 deletions
diff --git a/components/StandardDropdown.qml b/components/StandardDropdown.qml
index 9ab90f4b..fce7cc45 100644
--- a/components/StandardDropdown.qml
+++ b/components/StandardDropdown.qml
@@ -27,7 +27,8 @@
// THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
import QtQuick 2.0
-import "." 1.0
+
+import "../components" as MoneroComponents
Item {
id: dropdown
@@ -90,7 +91,7 @@ Item {
anchors.left: parent.left
anchors.leftMargin: 12 * scaleRatio
elide: Text.ElideRight
- font.family: Style.fontRegular.name
+ font.family: MoneroComponents.Style.fontRegular.name
font.bold: dropdown.headerFontBold
font.pixelSize: dropdown.fontHeaderSize
color: "#FFFFFF"
@@ -183,7 +184,7 @@ Item {
anchors.right: col2Text.left
anchors.leftMargin: 12 * scaleRatio
anchors.rightMargin: 0
- font.family: Style.fontRegular.name
+ font.family: MoneroComponents.Style.fontRegular.name
font.bold: true
font.pixelSize: fontItemSize
color: itemArea.containsMouse || index === column.currentIndex || itemArea.containsMouse ? "#FA6800" : "#FFFFFF"
@@ -195,7 +196,7 @@ Item {
anchors.verticalCenter: parent.verticalCenter
anchors.right: parent.right
anchors.rightMargin: 45 * scaleRatio
- font.family: Style.fontRegular.name
+ font.family: MoneroComponents.Style.fontRegular.name
font.pixelSize: 14 * scaleRatio
color: "#FFFFFF"
text: ""