-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Description
I am calling setSplitterSize() and setSplitterPositionPercent() in our app to show and hide a Google Street View. Unfortunately both of those methods force the remeasure() method to be called which seems to cause performance issues. Here is how I hide the street view and the splitter:
splitPaneLayout.setSplitterSize( 0 );
splitPaneLayout.setSplitterPositionPercent( 0.0001f );
Here is the code I use to later show the street view and splitter:
splitPaneLayout.setSplitterSize( 20 );
splitPaneLayout.setSplitterPositionPercent( 0.5f );
The street view is initially hidden:
I did not see a way to subclass SplitPaneLayout to avoid remeasure being called twice.
Metadata
Metadata
Assignees
Labels
No labels