From 20ef5d3e23474e06b6591368b6040406e07bf006 Mon Sep 17 00:00:00 2001 From: Matt Howell Date: Fri, 24 May 2019 18:06:16 +0000 Subject: [PATCH] Bug 1554148 - Keep the profile cleanup button from rendering too low in the window. r=agashlin The official layout had this same problem, so this just causes the mechanism that was added to solve it there to also be invoked for every other branding. Differential Revision: https://phabricator.services.mozilla.com/D32504 --HG-- extra : moz-landing-system : lando --- browser/branding/aurora/branding.nsi | 3 ++- browser/branding/nightly/branding.nsi | 3 ++- browser/branding/unofficial/branding.nsi | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/browser/branding/aurora/branding.nsi b/browser/branding/aurora/branding.nsi index 0bf40d9c7ef7..f3c573733e44 100644 --- a/browser/branding/aurora/branding.nsi +++ b/browser/branding/aurora/branding.nsi @@ -28,9 +28,10 @@ # Dialog units are used so the UI displays correctly with the system's DPI # settings. -!define PROFILE_CLEANUP_LABEL_TOP "39u" +!define PROFILE_CLEANUP_LABEL_TOP "35u" !define PROFILE_CLEANUP_LABEL_LEFT "0" !define PROFILE_CLEANUP_LABEL_WIDTH "100%" +!define PROFILE_CLEANUP_LABEL_HEIGHT "80u" !define PROFILE_CLEANUP_LABEL_ALIGN "center" !define PROFILE_CLEANUP_CHECKBOX_LEFT "center" !define PROFILE_CLEANUP_CHECKBOX_WIDTH "100%" diff --git a/browser/branding/nightly/branding.nsi b/browser/branding/nightly/branding.nsi index 87997a3af841..b37853b77643 100644 --- a/browser/branding/nightly/branding.nsi +++ b/browser/branding/nightly/branding.nsi @@ -27,9 +27,10 @@ # Dialog units are used so the UI displays correctly with the system's DPI # settings. -!define PROFILE_CLEANUP_LABEL_TOP "39u" +!define PROFILE_CLEANUP_LABEL_TOP "35u" !define PROFILE_CLEANUP_LABEL_LEFT "0" !define PROFILE_CLEANUP_LABEL_WIDTH "100%" +!define PROFILE_CLEANUP_LABEL_HEIGHT "80u" !define PROFILE_CLEANUP_LABEL_ALIGN "center" !define PROFILE_CLEANUP_CHECKBOX_LEFT "center" !define PROFILE_CLEANUP_CHECKBOX_WIDTH "100%" diff --git a/browser/branding/unofficial/branding.nsi b/browser/branding/unofficial/branding.nsi index 91170d4b3c74..1fc5c12d2af9 100644 --- a/browser/branding/unofficial/branding.nsi +++ b/browser/branding/unofficial/branding.nsi @@ -27,9 +27,10 @@ # Dialog units are used so the UI displays correctly with the system's DPI # settings. -!define PROFILE_CLEANUP_LABEL_TOP "39u" +!define PROFILE_CLEANUP_LABEL_TOP "35u" !define PROFILE_CLEANUP_LABEL_LEFT "0" !define PROFILE_CLEANUP_LABEL_WIDTH "100%" +!define PROFILE_CLEANUP_LABEL_HEIGHT "80u" !define PROFILE_CLEANUP_LABEL_ALIGN "center" !define PROFILE_CLEANUP_CHECKBOX_LEFT "center" !define PROFILE_CLEANUP_CHECKBOX_WIDTH "100%"