No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
Root class used in SBFolders (SBRootFolder, SBRootFolderWithDock, SBFloatyFolder, et al.) | |||
<syntaxhighlight lang="objc" line='line'> | <syntaxhighlight lang="objc" line='line'> | ||
-[SBFolderView layoutIconLists:(id)lists animationType:(int)type forceRelayout:(BOOL)force] | void -[SBFolderView layoutIconLists:(id)lists animationType:(int)type forceRelayout:(BOOL)force] | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 15:10, 9 June 2020
Root class used in SBFolders (SBRootFolder, SBRootFolderWithDock, SBFloatyFolder, et al.)
void -[SBFolderView layoutIconLists:(id)lists animationType:(int)type forceRelayout:(BOOL)force]
This method iterates through SBIconListViews within the SBFolderView and calls `layoutIconsIfNeeded:animationType:options:` on each instance.
If `forceRelayout` is True, then `setIconsNeedLayout` will be called on the list beforehand, forcing it to re-layout regardless of the existing state.