enable ui dragging (#923)

This commit is contained in:
Logan McNaughton
2026-05-20 09:14:43 +02:00
committed by GitHub
parent 28b1424357
commit 06d0aa53bc
4 changed files with 4 additions and 1 deletions
+1
View File
@@ -48,6 +48,7 @@ export component Cheats inherits Page {
Rectangle { }
if CheatsData.cheats.length > 0:ListView {
mouse-drag-pan-enabled: true;
preferred-height: root.height;
horizontal-stretch: 1;
for data in CheatsData.cheats: VerticalBox {
+1 -1
View File
@@ -1,4 +1,4 @@
import { VerticalBox, HorizontalBox, TextEdit, ScrollView, LineEdit, Button, GridBox } from "std-widgets.slint";
import { VerticalBox, HorizontalBox, TextEdit, LineEdit, Button, GridBox } from "std-widgets.slint";
import { NetplayData } from "netplay_page.slint";
export global NetplayWaitData {
+1
View File
@@ -19,6 +19,7 @@ export component Page inherits VerticalBox {
}
ScrollView {
mouse-drag-pan-enabled: true;
vertical-stretch: 1;
VerticalBox {
+1
View File
@@ -11,6 +11,7 @@ export component VruDialog inherits Window {
in-out property words <=> VruData.words;
ScrollView {
mouse-drag-pan-enabled: true;
VerticalBox {
padding-bottom: 40px;
for word[i] in words: Button {