From fe785d357d4ce0563625a78db17728338eabd97c Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Sat, 16 Jul 2022 09:54:37 -0300 Subject: [PATCH] user-controls: Remove AdwPreferencesPage AdwPreferencesPage is intended to be used as the first widget inside page. It has an AdwClamp and a scrolled window to handle just that. Putting it in the MctUserControls widget is undesired, because it introduces an oddly positioned scrolled window in the parental controls page of Initial Setup, and if we ever reintroduce this widgetry in Settings, it would suffer from the same problem. Remove AdwPreferencesPage from MctUserControls, and replace it with a vertical box. Add an AdwPreferencesPage in malcontent-controls to compensate for that. --- libmalcontent-ui/user-controls.ui | 4 +++- malcontent-control/main.ui | 20 ++++++++++++++------ 2 files changed, 17 insertions(+), 7 deletions(-) diff --git a/libmalcontent-ui/user-controls.ui b/libmalcontent-ui/user-controls.ui index 5c0dbb4..bfd3e45 100644 --- a/libmalcontent-ui/user-controls.ui +++ b/libmalcontent-ui/user-controls.ui @@ -4,7 +4,9 @@