Chromium Code Reviews
DescriptionUse the CreatePanelLayout() utility method instead of hand-rolling panel layout.
This is not only shorter, it fixes an issue where the provided insets didn't
make sense. The expected order of insets is TLBR; the passed insets were
horizontal/vertical/vertical/horizontal, and even if the first two had been
swapped, it would still function differently than other panel layouts.
BUG=none
TEST=none
Review-Url: https://codereview.chromium.org/2668853002
Cr-Commit-Position: refs/heads/master@{#447404}
Committed: https://chromium.googlesource.com/chromium/src/+/2dca6772888dd5454cafc6b50e2ca924fb16b0bd
Patch Set 1 #Patch Set 2 : Fix compile #
Messages
Total messages: 16 (12 generated)
|
||||||||||||||||||||||||||||