From 24f8371b3070f2774830e44b5772297212da2611 Mon Sep 17 00:00:00 2001
From: "nick@chromium.org"
 <nick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Date: Thu, 8 Oct 2009 22:52:45 +0000
Subject: Measure the sync wizard dialog in appropriate units: specifically,
 units proportional to the fonts used inside of it.

We approximate the font chosen by the wizard's CSS.  In actuality, the
CSS chooses a font-face "arial", "sans-serif".  We just use the default
sans serif font; arial is the default value for that property.

This fixes an issue where changing to the "Windows Classic" theme
on Vista would cause the dialog to be resized, clipping its
contents, which are unaffected by the UI font size.

Update the default GRIT sizes to closely match the old ones.

Old vs new:
http://www.corp.google.com/~ncarter/wizard-size-screenshots.png

BUG=21828
TEST=verified old size against new size in Aero Theme with default
settings; verified size stays the same under Classic theme.

Review URL: http://codereview.chromium.org/261017

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28465 0039d316-1c4b-4281-b951-d872f2087c98
---
 chrome/app/resources/locale_settings_ar.xtb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'chrome/app/resources/locale_settings_ar.xtb')

diff --git a/chrome/app/resources/locale_settings_ar.xtb b/chrome/app/resources/locale_settings_ar.xtb
index f4b4642..6afdfd9 100644
--- a/chrome/app/resources/locale_settings_ar.xtb
+++ b/chrome/app/resources/locale_settings_ar.xtb
@@ -65,8 +65,8 @@
 <translation id="IDS_SELECT_PROFILE_DIALOG_WIDTH_CHARS">60</translation>
 <translation id="IDS_SELECT_PROFILE_DIALOG_HEIGHT_LINES">5</translation>
 <translation id="IDS_NEW_PROFILE_DIALOG_WIDTH_CHARS">60</translation>
-<translation id="IDS_SYNC_SETUP_WIZARD_WIDTH_CHARS">45</translation>
-<translation id="IDS_SYNC_SETUP_WIZARD_HEIGHT_LINES">25</translation>
+<translation id="IDS_SYNC_SETUP_WIZARD_WIDTH_CHARS">30</translation>
+<translation id="IDS_SYNC_SETUP_WIZARD_HEIGHT_LINES">15.5</translation>
 <translation id="IDS_CONFIRM_MESSAGE_BOX_DEFAULT_WIDTH_CHARS">50</translation>
 <translation id="IDS_CONFIRM_MESSAGE_BOX_DEFAULT_HEIGHT_LINES">5</translation>
 </translationbundle>
-- 
cgit v1.1