From 24f8371b3070f2774830e44b5772297212da2611 Mon Sep 17 00:00:00 2001 From: "nick@chromium.org" 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_nb.xtb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/app/resources/locale_settings_nb.xtb') diff --git a/chrome/app/resources/locale_settings_nb.xtb b/chrome/app/resources/locale_settings_nb.xtb index d388495..01b0fb0 100644 --- a/chrome/app/resources/locale_settings_nb.xtb +++ b/chrome/app/resources/locale_settings_nb.xtb @@ -65,8 +65,8 @@ 60 5 60 -45 -25 +30 +15.5 50 5 -- cgit v1.1