base toolbar height on children height
This commit is contained in:
parent
900a8d743b
commit
794bd80a01
@ -23,7 +23,7 @@ import org.kde.plasma.core 0.1 as PlasmaCore
|
|||||||
Item{
|
Item{
|
||||||
id: toolBar
|
id: toolBar
|
||||||
width: parent.width
|
width: parent.width
|
||||||
height: (tools && enabled) ? theme.defaultFont.mSize.height*2 + frameSvg.margins.top + frameSvg.margins.bottom : 0
|
height: (tools && enabled) ? tools.height + frameSvg.margins.top + frameSvg.margins.bottom : 0
|
||||||
visible: height > 0
|
visible: height > 0
|
||||||
Behavior on height {
|
Behavior on height {
|
||||||
PropertyAnimation {
|
PropertyAnimation {
|
||||||
|
Loading…
Reference in New Issue
Block a user