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:
parent
0bad949e92
commit
dce87f13a6
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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{
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user