💥 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.BoxProps),
new Widget.Scrollable({
hscroll: Gtk.PolicyType.NEVER,
vscroll: Gtk.PolicyType.AUTOMATIC,
propagateNaturalHeight: true,
child: new Widget.Box({
className: "content",
spacing: props.spacing ?? 4,
orientation: props.orientation ?? Gtk.Orientation.VERTICAL,
expand: true,
setup: props.setup,
child: props.child,
children: props.children
} as Widget.BoxProps),
} as Widget.ScrollableProps),
new Widget.Box({
className: "content",
spacing: props.spacing ?? 4,
orientation: props.orientation ?? Gtk.Orientation.VERTICAL,
expand: true,
setup: props.setup,
child: props.child,
children: props.children
} as Widget.BoxProps),
Separator({
alpha: .2,
spacing: 6,