mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Fix bug height binding loop
This commit is contained in:
parent
77c6db2155
commit
03773d131b
@ -2,20 +2,21 @@ import QtQuick 2.0
|
||||
import QtQuick.Controls 2.0
|
||||
|
||||
|
||||
ToolButton
|
||||
Item
|
||||
{
|
||||
height: icon.height + 5
|
||||
height: innerText.implicitHeight
|
||||
|
||||
property int iconHeight: 25
|
||||
|
||||
property alias iconUrl: icon.source
|
||||
property alias innerText: innerText.text
|
||||
|
||||
|
||||
Image
|
||||
{
|
||||
id: icon
|
||||
|
||||
height: innerText.contentHeight
|
||||
width: innerText.contentHeight
|
||||
height: iconHeight
|
||||
width: height
|
||||
|
||||
fillMode: Image.PreserveAspectFit
|
||||
anchors.left: parent.left
|
||||
|
Loading…
Reference in New Issue
Block a user