-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
34908ca
commit b24d873
Showing
2 changed files
with
112 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
const panelGroupDefination = { | ||
groupId: 'viewerLayoutResizablePanelGroup', | ||
shared: { | ||
expandedInsideBorderSize: 4, | ||
collapsedInsideBorderSize: 4, | ||
collapsedOutsideBorderSize: 8, | ||
collapsedWidth: 25, | ||
}, | ||
left: { | ||
// id | ||
panelId: 'viewerLayoutResizableLeftPanel', | ||
// expanded width | ||
expandedDefaultWidth: 282, | ||
// expanded width + expanded inside border | ||
expandedDefaultOffsetWidth: 145 + 4, | ||
// initial expanded width | ||
initialExpandedDefaultOffsetWidth: 282 + 4, | ||
// collapsed width + collapsed inside border + collapsed outside border | ||
collapsedOffsetWidth: 25 + 4 + 8, | ||
}, | ||
right: { | ||
panelId: 'viewerLayoutResizableRightPanel', | ||
expandedDefaultWidth: 280, | ||
expandedDefaultOffsetWidth: 280 + 4, | ||
initialExpandedDefaultOffsetWidth: 280 + 4, | ||
collapsedOffsetWidth: 25 + 4 + 8, | ||
}, | ||
}; | ||
|
||
export { panelGroupDefination }; |