From 4eafdfca85999c8cbfee7d4b626f0d14a1194a44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ant=C3=B3nio=20Fernandes?= Date: Sun, 2 Aug 2020 18:55:41 +0100 Subject: properties-window: Center permissions horizontally If the window grows larger, the permissions look pushed to the left. Same problem with the "Change permissions..." dialog, which is wider by default due to a long window title. So, in both cases, let's center the contents. --- src/resources/ui/nautilus-file-properties-change-permissions.ui | 1 + src/resources/ui/nautilus-properties-window.ui | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/resources/ui/nautilus-file-properties-change-permissions.ui b/src/resources/ui/nautilus-file-properties-change-permissions.ui index d8e59e88f..cde24711a 100644 --- a/src/resources/ui/nautilus-file-properties-change-permissions.ui +++ b/src/resources/ui/nautilus-file-properties-change-permissions.ui @@ -30,6 +30,7 @@ True False + center 6 vertical 6 diff --git a/src/resources/ui/nautilus-properties-window.ui b/src/resources/ui/nautilus-properties-window.ui index e52704812..97d314e7b 100644 --- a/src/resources/ui/nautilus-properties-window.ui +++ b/src/resources/ui/nautilus-properties-window.ui @@ -741,6 +741,7 @@ False You are not the owner, so you cannot change these permissions. + center True 40 @@ -767,6 +768,7 @@ False The permissions of the selected file could not be determined. + center True 40 @@ -779,6 +781,7 @@ False + center vertical 6 12 -- cgit v1.2.1