Skip to content
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

specify initial left pane width in pixels #28

Closed
kofifus opened this issue Feb 19, 2016 · 2 comments
Closed

specify initial left pane width in pixels #28

kofifus opened this issue Feb 19, 2016 · 2 comments

Comments

@kofifus
Copy link

kofifus commented Feb 19, 2016

Is it possible to specify the initial left pane width in pixels ?

I tried remarking 'right' in #left-component and #my-divider and replacing them with left:190px; but not sure how to change the 'width' in #right-component ?

thx!

@shagstrom
Copy link
Owner

If you want to set left component width it make most sense if you use fixed-left:

http://dreamchain.com/static/split-pane/fixed-left.html

Otherwise (using the latest version of split-pane) you can do this:

$(selector).splitPane('firstComponentSize', 0);"

@kofifus
Copy link
Author

kofifus commented Mar 20, 2016

fixed-left solved it thx!

@kofifus kofifus closed this as completed Mar 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants