DescriptionReduce minimum size of Panels to allow 1-text-line tight autosize.
BUG=102708
TEST=PanelBrowserTest.SizeClamping
This patch does not attempt to calculate the actual size of titlebar and text line on a particular machine, just changes defaults to more accommodating.
Instead of 100x100 we now have 100x20. Width of 100 seems to be a good arbitrary value that allows reasonable rendering of titlebar with close button, favicon and few characters of title text. Height of 20 allows auto-sizing to tightly wrap around small content (like a text line)
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=111480
Patch Set 1 #Patch Set 2 : simplify test #
Total comments: 2
Patch Set 3 : feedback and a new test #Patch Set 4 : merged and updated tests #
Total comments: 8
Patch Set 5 : patch for landing #Patch Set 6 : fix win build #Patch Set 7 : fixed AutoResize test #Patch Set 8 : fix extension test #
Total comments: 2
Patch Set 9 : hopefully final #
Messages
Total messages: 13 (0 generated)
|