From 9b3dedd9edc2724fb68a0860bf48a67d1ddbd15a Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Fri, 1 May 2020 16:09:16 +0100 Subject: [PATCH] malcontent-control: Centre the user controls MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This causes the controls on the main window to be centred at their full width (when there’s enough window width to do so), rather than expanding to fill the entire window. It’s not currently possible with GTK+3 to easily set a maximum width (of, say, 600px) to the column, without writing a custom widget (like `HdyColumn` does). From a suggestion by Nick Richards (https://www.nedrichards.com/2020/04/endless-3.8.0-beta-1-trip-report/). Signed-off-by: Philip Withnall --- malcontent-control/main.ui | 1 + 1 file changed, 1 insertion(+) diff --git a/malcontent-control/main.ui b/malcontent-control/main.ui index 69f9d93..12fab8b 100644 --- a/malcontent-control/main.ui +++ b/malcontent-control/main.ui @@ -58,6 +58,7 @@ 350 + center True 12 dbus_connection