diff options
author | sky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-17 21:31:20 +0000 |
---|---|---|
committer | sky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-17 21:31:20 +0000 |
commit | 54002ab61e7fb77f55394b56223b49d407750a09 (patch) | |
tree | 638417901cf405c0cbabf2d33e681152a35e4745 /chrome/browser/views | |
parent | 325ff88aecfd0b14ee2b69c6d5eb0e0ed7764cf9 (diff) | |
download | chromium_src-54002ab61e7fb77f55394b56223b49d407750a09.zip chromium_src-54002ab61e7fb77f55394b56223b49d407750a09.tar.gz chromium_src-54002ab61e7fb77f55394b56223b49d407750a09.tar.bz2 |
Changes about view to explicitly set the background to white. This way
even though the field is disabled you get a white background.
BUG=4511
TEST=Bring up about chrome and make sure background of version string
is white.
Review URL: http://codereview.chromium.org/11421
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5574 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views')
-rw-r--r-- | chrome/browser/views/about_chrome_view.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/views/about_chrome_view.cc b/chrome/browser/views/about_chrome_view.cc index 1ab5e5f..efb5027 100644 --- a/chrome/browser/views/about_chrome_view.cc +++ b/chrome/browser/views/about_chrome_view.cc @@ -161,6 +161,7 @@ void AboutChromeView::Init() { version_label_->SetText(current_version_); version_label_->SetReadOnly(true); version_label_->RemoveBorder(); + version_label_->SetBackgroundColor(SK_ColorWHITE); version_label_->SetFont(ResourceBundle::GetSharedInstance().GetFont( ResourceBundle::BaseFont).DeriveFont(0, BOLD_FONTTYPE)); AddChildView(version_label_); |