panel view fixes
This commit is contained in:
parent
751aab6ffa
commit
3fcee4f952
2 changed files with 40 additions and 17 deletions
|
|
@ -43,7 +43,7 @@ Item{
|
|||
|
||||
// иконки не будет без этой залупы
|
||||
anchors.fill: parent
|
||||
anchors.leftMargin: 0
|
||||
//anchors.leftMargin: 0
|
||||
|
||||
activeFocusOnTab: true
|
||||
hoverEnabled: true
|
||||
|
|
@ -65,7 +65,8 @@ Item{
|
|||
property string labelText: "yaebalrot"
|
||||
text: labelText === "yaebalrot" ? "" : labelText
|
||||
color: text === "error" ? "red" : Kirigami.Theme.textColor
|
||||
font.pointSize: Kirigami.Theme.mediumFont.pointSize
|
||||
font.pixelSize: (parent.height * 0.6) // Responsive sizing
|
||||
Layout.fillHeight: true
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
}
|
||||
}
|
||||
|
|
@ -74,13 +75,27 @@ Item{
|
|||
RowLayout {
|
||||
id: govnoLayout
|
||||
anchors.fill: parent
|
||||
spacing: Kirigami.Units.smallSpacing
|
||||
//spacing: Kirigami.Units.smallSpacing
|
||||
spacing: 0
|
||||
|
||||
Repeater {
|
||||
model: mouseArea.configArray
|
||||
Row {
|
||||
id: entryWrapper
|
||||
Layout.fillHeight: true
|
||||
spacing: 0
|
||||
|
||||
// спс гемини
|
||||
Item {
|
||||
width: Kirigami.Units.smallSpacing // Adjust size as needed
|
||||
height: parent.height
|
||||
visible: modelData !== "meow_icon" &&
|
||||
(index === 0 || mouseArea.configArray[index - 1] !== "meow_icon")
|
||||
}
|
||||
|
||||
Loader {
|
||||
id: govnoebanoe
|
||||
height: parent.height
|
||||
// Logic to choose WHICH component to spawn
|
||||
sourceComponent: (modelData === "meow_icon") ? meowIconComponent : genericLabelComponent
|
||||
|
||||
|
|
@ -91,7 +106,15 @@ Item{
|
|||
value: root[modelData] // The live variable in root
|
||||
when: govnoebanoe.status === Loader.Ready && modelData !== "meow_icon"
|
||||
}
|
||||
Layout.fillHeight: true
|
||||
//Layout.fillHeight: true
|
||||
}
|
||||
|
||||
Item {
|
||||
width: Kirigami.Units.smallSpacing // Adjust size as needed
|
||||
height: parent.height
|
||||
visible: modelData !== "meow_icon" &&
|
||||
(index === mouseArea.configArray.length - 1)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
"Icon": "preferences-system-network-proxy",
|
||||
"Id": "com.umorist47.meowrelaygui",
|
||||
"Name": "MeowRelay",
|
||||
"Version": "1.1",
|
||||
"Version": "1.2",
|
||||
"Website": "",
|
||||
"License": "GPL3"
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue