Commit ae41c8fd authored by Malay Keshav's avatar Malay Keshav Committed by Commit Bot

Increase minimum width of tab on touchable chrome

This patch increases the minimum width of the tab from 68px to 160 px.

Bug: 826380
Change-Id: I3aa3e96b09784bec3ed4e6b647f57785e7bac128
Component: Tabs, layout constant
Reviewed-on: https://chromium-review.googlesource.com/1044495
Commit-Queue: Peter Kasting <pkasting@chromium.org>
Reviewed-by: default avatarPeter Kasting <pkasting@chromium.org>
Cr-Commit-Position: refs/heads/master@{#556116}
parent 59e4b212
...@@ -83,7 +83,7 @@ int GetLayoutConstant(LayoutConstant constant) { ...@@ -83,7 +83,7 @@ int GetLayoutConstant(LayoutConstant constant) {
case TAB_STACK_DISTANCE: case TAB_STACK_DISTANCE:
return touch_optimized_material ? 4 : 6; return touch_optimized_material ? 4 : 6;
case TAB_STACK_TAB_WIDTH: case TAB_STACK_TAB_WIDTH:
return touch_optimized_material ? 68 : 120; return touch_optimized_material ? 160 : 120;
case TAB_STANDARD_WIDTH: case TAB_STANDARD_WIDTH:
return touch_optimized_material ? 245 : 193; return touch_optimized_material ? 245 : 193;
case TOOLBAR_ELEMENT_PADDING: { case TOOLBAR_ELEMENT_PADDING: {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment