1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-03-30 14:50:12 +03:00

fix binding loop in config from pages

This commit is contained in:
Michail Vourlakos 2017-01-07 20:53:20 +02:00
parent 0bad949e92
commit dce87f13a6
4 changed files with 10 additions and 2 deletions

View File

@ -33,7 +33,10 @@ import org.kde.latte 0.1 as Latte
PlasmaComponents.Page{
width: dialog.width - 2*dialog.windowSpace
property int pageHeight: mainColumn.height
Column{
id:mainColumn
spacing: 1.5*theme.defaultFont.pointSize
width: parent.width

View File

@ -33,7 +33,10 @@ import org.kde.latte 0.1 as Latte
PlasmaComponents.Page{
width: dialog.width - 2*dialog.windowSpace
property int pageHeight: mainColumn.height
Column{
id: mainColumn
spacing: 1.5*theme.defaultFont.pointSize
width: parent.width

View File

@ -163,8 +163,7 @@ PlasmaCore.FrameSvgItem {
PlasmaComponents.TabGroup{
width: pagesBackground.width - 6
//FIXME: this creates a binding loop but I havent found any alternative yet
height: currentTab.childrenRect.height
height: currentTab.pageHeight
privateContents: [
BehaviorConfig{

View File

@ -33,7 +33,10 @@ import org.kde.latte 0.1 as Latte
PlasmaComponents.Page{
width: dialog.width - 2*dialog.windowSpace
property int pageHeight: mainColumn.height
Column{
id: mainColumn
spacing: 1.5*theme.defaultFont.pointSize
width: parent.width