mirror of
https://github.com/gopher64/gopher64.git
synced 2026-07-11 01:25:20 +02:00
enable ui dragging (#923)
This commit is contained in:
@@ -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,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 {
|
||||
|
||||
@@ -19,6 +19,7 @@ export component Page inherits VerticalBox {
|
||||
}
|
||||
|
||||
ScrollView {
|
||||
mouse-drag-pan-enabled: true;
|
||||
vertical-stretch: 1;
|
||||
|
||||
VerticalBox {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user