Refactor variable to be more usable

This commit is contained in:
Angela Mazzurco 2017-07-22 16:06:36 +02:00
parent 331b00d5d9
commit 4e4c991034
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ import QtQuick.Controls 2.0
Item
{
id: button
property alias buttonText: innerText.text;
property alias text: innerText.text;
property alias buttonTextPixelSize: innerText.font.pixelSize
property alias innerAnchors: innerElements.anchors;
property alias rectangleButton: rectangleButton;

View File

@ -113,7 +113,7 @@ Drawer
ButtonText
{
buttonText: model.title
text: model.title
width: parent.width
height: parent.height
color: menuItem.styles.defaultColor