API / geotoolkit / controls / shapes / ScrollablePanel
Namespaces
Classes
Functions
Functions
▸ getAutoSizeBoundsByContent(options): Rect
Calculates new bounds for a panel as a rectangle with the specified content area size, keeping the original top-left position (minX, minY) from the old bounds. This is the default method used for scrollable panels.
| Name | Type |
|---|---|
options | GetAutoSizeBoundsOptions |
The new bounds as a rectangle with updated size, preserving the old position.