summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
authorsaintlou@chromium.org <saintlou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-08 22:29:44 +0000
committersaintlou@chromium.org <saintlou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-08 22:29:44 +0000
commitb144676fc61ff159ba8cc432def67ae964742e2f (patch)
tree55bcdd4cd3e28116589e98159c0d2b2f30bcc077 /views
parent21fe262203cfd4e99cd4ebc9bdd1d8f224145517 (diff)
downloadchromium_src-b144676fc61ff159ba8cc432def67ae964742e2f.zip
chromium_src-b144676fc61ff159ba8cc432def67ae964742e2f.tar.gz
chromium_src-b144676fc61ff159ba8cc432def67ae964742e2f.tar.bz2
Increase the base font size for touch ui
BUG=none TEST=none Review URL: http://codereview.chromium.org/6519034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77349 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-rw-r--r--views/controls/menu/menu_config_gtk.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/views/controls/menu/menu_config_gtk.cc b/views/controls/menu/menu_config_gtk.cc
index e5005f4..37a2b00 100644
--- a/views/controls/menu/menu_config_gtk.cc
+++ b/views/controls/menu/menu_config_gtk.cc
@@ -14,7 +14,11 @@ namespace views {
MenuConfig* MenuConfig::Create() {
MenuConfig* config = new MenuConfig();
ResourceBundle& rb = ResourceBundle::GetSharedInstance();
+#if defined(TOUCH_UI)
+ config->font = rb.GetFont(ResourceBundle::LargeFont);
+#else
config->font = rb.GetFont(ResourceBundle::BaseFont);
+#endif
config->arrow_width = rb.GetBitmapNamed(IDR_MENU_ARROW)->width();
// Add 4 to force some padding between check and label.
config->check_width = rb.GetBitmapNamed(IDR_MENU_CHECK)->width() + 4;