diff options
author | deanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-04 17:40:50 +0000 |
---|---|---|
committer | deanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-04 17:40:50 +0000 |
commit | 5e629e4d8dc9d1447d7214605bcf4e31a87544bb (patch) | |
tree | 35eed5be32dbe6e0296889c17668e05609dcdb5c /chrome/browser/gtk/custom_button.h | |
parent | f99d9b3f94ac14e7ce6c7ab6513d2de11038f019 (diff) | |
download | chromium_src-5e629e4d8dc9d1447d7214605bcf4e31a87544bb.zip chromium_src-5e629e4d8dc9d1447d7214605bcf4e31a87544bb.tar.gz chromium_src-5e629e4d8dc9d1447d7214605bcf4e31a87544bb.tar.bz2 |
Make the Linux find bar look a bit better.
- Fake some anti-aliasing so the text entry matches the next/prev images.
- Match padding pixel perfect with Windows.
Review URL: http://codereview.chromium.org/99275
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15217 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/custom_button.h')
-rw-r--r-- | chrome/browser/gtk/custom_button.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/gtk/custom_button.h b/chrome/browser/gtk/custom_button.h index 7a7a1a8..aea7717 100644 --- a/chrome/browser/gtk/custom_button.h +++ b/chrome/browser/gtk/custom_button.h @@ -59,7 +59,7 @@ class CustomDrawButton { // a bar (find bar, download shelf, info bars). The button will be packed in // |hbox|. // The caller is responsible for destroying the returned CustomDrawButton. - static CustomDrawButton* AddBarCloseButton(GtkWidget* hbox); + static CustomDrawButton* AddBarCloseButton(GtkWidget* hbox, int padding); private: // Callback for expose, used to draw the custom graphics. |