| [Overview][Constants][Types][Classes][Procedures and functions][Index] |
CombineSpiralSplitterPair - cleans up alignment of two adjacent splitters when they don't line up properly
Source position: ldocktree.pas line 229
protected procedure TCustomAnchoredDockManager.CombineSpiralSplitterPair( |
Splitter1: TLazDockSplitter; |
Splitter2: TLazDockSplitter |
); |
CombineSpiralSplitterPair - cleans up alignment of two adjacent splitters when they don't line up properly
{ - Anchor all controls anchored to Splitter2 to Splitter1
- extend Splitter1
- delete Splitter2
Example:
Four spiral splitters:
Before:
|
A |
---------|
| +--+ | C
B | | | |
| +--+ |
| ----------
| D
The left and right splitter will be combined to one.
After:
|
A |
-------|
| C
B |
|
|------
| D
}
| lazarus-ccr.sourceforge.net |