-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(dock-manager): add split pane fixed size sample #882
base: vnext
Are you sure you want to change the base?
Conversation
this.dockManager.layout = { | ||
rootPane: { | ||
type: IgcDockManagerPaneType.splitPane, | ||
orientation: IgcSplitPaneOrientation.vertical, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about we make the root useFixedSize: true as well?
orientation: IgcSplitPaneOrientation.vertical, | |
orientation: IgcSplitPaneOrientation.vertical, | |
useFixedSize: true, |
{ | ||
type: IgcDockManagerPaneType.splitPane, | ||
orientation: IgcSplitPaneOrientation.horizontal, | ||
useFixedSize: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
useFixedSize: true, | |
useFixedSize: true, | |
size: 400, |
panes: [ | ||
{ | ||
type: IgcDockManagerPaneType.splitPane, | ||
orientation: IgcSplitPaneOrientation.horizontal, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In addition to the above:
orientation: IgcSplitPaneOrientation.horizontal, | |
orientation: IgcSplitPaneOrientation.horizontal, | |
size: 600, |
<igc-dockmanager id="dockManager"> | ||
<div slot="content1">Content 1</div> | ||
<div slot="content2">Content 2</div> | ||
<div slot="content3">Content 3</div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<div slot="content3">Content 3</div> | |
<div slot="content3">I am 400 pixels wide.</div> |
<div slot="content1">Content 1</div> | ||
<div slot="content2">Content 2</div> | ||
<div slot="content3">Content 3</div> | ||
<div slot="content4">Content 4</div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<div slot="content4">Content 4</div> | |
<div slot="content4">I am 200 pixels wide.</div> |
Closes #877