💥 fix(control-center/page): remove problematic scrollable

This commit is contained in:
retrozinndev
2025-06-01 16:12:59 -03:00
parent 637dfaddb5
commit 76b16036c8
+9 -14
View File
@@ -88,20 +88,15 @@ class Page extends Widget.Box {
} as Widget.LabelProps), } as Widget.LabelProps),
] ]
} as Widget.BoxProps), } as Widget.BoxProps),
new Widget.Scrollable({ new Widget.Box({
hscroll: Gtk.PolicyType.NEVER, className: "content",
vscroll: Gtk.PolicyType.AUTOMATIC, spacing: props.spacing ?? 4,
propagateNaturalHeight: true, orientation: props.orientation ?? Gtk.Orientation.VERTICAL,
child: new Widget.Box({ expand: true,
className: "content", setup: props.setup,
spacing: props.spacing ?? 4, child: props.child,
orientation: props.orientation ?? Gtk.Orientation.VERTICAL, children: props.children
expand: true, } as Widget.BoxProps),
setup: props.setup,
child: props.child,
children: props.children
} as Widget.BoxProps),
} as Widget.ScrollableProps),
Separator({ Separator({
alpha: .2, alpha: .2,
spacing: 6, spacing: 6,