From c83164a2a02ba2b0cb46d98d83febd7a6d30bc32 Mon Sep 17 00:00:00 2001 From: "joshmoz%gmail.com" Date: Fri, 4 Nov 2005 21:21:49 +0000 Subject: [PATCH] fix width of color preferences dialog on Mac OS X. b=314993 r=mano --- browser/components/preferences/colors.xul | 4 ++++ browser/locales/en-US/chrome/browser/preferences/colors.dtd | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/browser/components/preferences/colors.xul b/browser/components/preferences/colors.xul index 6ed81e899f4..55801f2fd43 100644 --- a/browser/components/preferences/colors.xul +++ b/browser/components/preferences/colors.xul @@ -46,7 +46,11 @@ xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" title="&colorsDialog.title;" dlgbuttons="accept,cancel,help" +#ifdef XP_MACOSX + style="width: &window.macWidth; !important;"> +#else style="width: &window.width; !important;"> +#endif diff --git a/browser/locales/en-US/chrome/browser/preferences/colors.dtd b/browser/locales/en-US/chrome/browser/preferences/colors.dtd index 055fe95d9cc..6aac30cc7a0 100644 --- a/browser/locales/en-US/chrome/browser/preferences/colors.dtd +++ b/browser/locales/en-US/chrome/browser/preferences/colors.dtd @@ -1,5 +1,6 @@ - + +