Chromium Code Reviews
DescriptionAdding smarter resizing logic for the context menu on orientation changes
and adding new maxes for width and height.
Renamed context_menu_height_padding to context_menu_min_vertical_padding with half the value, but multiplied all usages by 2 so the total values are the same.
Added context_menu_min_side_padding.
Rewrote sizing logic so width is the minimum of 500 dp or total width - 2 * side_padding
Added a max height to context menu row
Added a max height to the context menu so it no longer leaks over the edge.
The list view now scrolls when the context menu reaches max height.
BUG=731173
Patch Set 1 #
Total comments: 6
Messages
Total messages: 9 (6 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||