Splitter can resize only left element. |
||||||
Issue descriptionChrome Version: ToT I'm implementing 3 pane layout for Files app. (Please see attached image, right pane will be a new "preview" panel, but currently, it is just a white box) I inserted two splitters between those elements. I would like to let the right splitter resize right (new "preview") panel, but now, splitters can resize only "left" elements: https://code.google.com/p/chromium/codesearch#chromium/src/ui/webui/resources/js/cr/ui/splitter.js&l=205 tapted@, dbeam@ I added you to CCs, because you submitted/reviewd recent patch for Splitter (https://codereview.chromium.org/1711233003). I think I can add some extra flags to determine which element should be resized.
,
Mar 3 2016
,
Mar 3 2016
Here is a patch: https://codereview.chromium.org/1760823002/
,
Mar 8 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/9613e62a3e9d55ffdc04d1276ee57c54ae8322e2 commit 9613e62a3e9d55ffdc04d1276ee57c54ae8322e2 Author: ryoh <ryoh@chromium.org> Date: Tue Mar 08 04:39:04 2016 Allow splitter to resize next element To specify which element should be resized, I added a new argument "resizeNextElement" to decorate method. BUG= 591611 TEST=none Review URL: https://codereview.chromium.org/1760823002 Cr-Commit-Position: refs/heads/master@{#379737} [modify] https://crrev.com/9613e62a3e9d55ffdc04d1276ee57c54ae8322e2/chrome/test/data/webui/splitter_test.html [modify] https://crrev.com/9613e62a3e9d55ffdc04d1276ee57c54ae8322e2/ui/webui/resources/js/cr/ui/splitter.js
,
Mar 8 2016
,
Apr 11 2016
,
Apr 25 2016
ryoh@ Could you please provide test steps to verify this bug?
,
May 23 2016
Bulk verified |
||||||
►
Sign in to add a comment |
||||||
Comment 1 by ryoh@chromium.org
, Mar 3 2016