summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-01 23:53:58 +0000
committerhclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-01 23:53:58 +0000
commit9ad77099038a76c96f6c4d162fb0706426215a5f (patch)
tree728032409751d06b23ab761f263703272c7c80c2
parent16480f67b506645b0630043a43e3f053bd7a64de (diff)
downloadchromium_src-9ad77099038a76c96f6c4d162fb0706426215a5f.zip
chromium_src-9ad77099038a76c96f6c4d162fb0706426215a5f.tar.gz
chromium_src-9ad77099038a76c96f6c4d162fb0706426215a5f.tar.bz2
Fix CSS style for chromoting setup wizard
Chromoting setup wizard looks very strange.. fix it up. BUG=None TEST=None Review URL: http://codereview.chromium.org/6597054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76465 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/app/resources/locale_settings.grd10
-rw-r--r--chrome/browser/remoting/resources/remoting_setting_up.html2
-rw-r--r--chrome/browser/remoting/setup_flow.cc4
3 files changed, 13 insertions, 3 deletions
diff --git a/chrome/app/resources/locale_settings.grd b/chrome/app/resources/locale_settings.grd
index 6fdf62a..7dae13e 100644
--- a/chrome/app/resources/locale_settings.grd
+++ b/chrome/app/resources/locale_settings.grd
@@ -521,6 +521,16 @@
https://www.google.com/accounts/IssuedAuthSubTokens?hl=[GRITLANGCODE]
</message>
+ <!-- The width of the remoting setup wizard / login dialog in characters. -->
+ <message name="IDS_REMOTING_SETUP_WIZARD_WIDTH_CHARS" use_name_for_id="true">
+ 56
+ </message>
+
+ <!-- The height of the remoting setup wizard / login dialog in lines. -->
+ <message name="IDS_REMOTING_SETUP_WIZARD_HEIGHT_LINES" use_name_for_id="true">
+ 16
+ </message>
+
<!-- The width of the cloud print setup wizard / login dialog in -->
<!-- characters. -->
<message name="IDS_CLOUD_PRINT_SETUP_WIZARD_WIDTH_CHARS"
diff --git a/chrome/browser/remoting/resources/remoting_setting_up.html b/chrome/browser/remoting/resources/remoting_setting_up.html
index c0a20a8..df6debf 100644
--- a/chrome/browser/remoting/resources/remoting_setting_up.html
+++ b/chrome/browser/remoting/resources/remoting_setting_up.html
@@ -7,7 +7,7 @@
margin: -3px 10px;
}
#setting_up {
- margin: 100px;
+ margin: 60px;
text-align: center;
}
#setting_up_label {
diff --git a/chrome/browser/remoting/setup_flow.cc b/chrome/browser/remoting/setup_flow.cc
index 38fa614..74c9540 100644
--- a/chrome/browser/remoting/setup_flow.cc
+++ b/chrome/browser/remoting/setup_flow.cc
@@ -171,8 +171,8 @@ void SetupFlow::GetDialogSize(gfx::Size* size) const {
// TODO(pranavk) Replace the following SYNC resources with REMOTING Resources.
*size = ui::GetLocalizedContentsSizeForFont(
- IDS_SYNC_SETUP_WIZARD_WIDTH_CHARS,
- IDS_SYNC_SETUP_WIZARD_HEIGHT_LINES,
+ IDS_REMOTING_SETUP_WIZARD_WIDTH_CHARS,
+ IDS_REMOTING_SETUP_WIZARD_HEIGHT_LINES,
approximate_web_font);
}