-
Notifications
You must be signed in to change notification settings - Fork 18
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
Setting fraction programmatically (after the split view is shown already) #29
Comments
I was surprised to find that this is currently not possible. For one thing, I didn't publish the
If you do that, then you can monitor changes in
This will trigger when
|
Thanks for your response and for identifying a solution! In your new line 102, you might also have to check for the fraction constraints to make sure that internal invariants aren't broken by a fraction provided from outside that is not valid. |
I couldn't figure out a way how to set the split fraction between primary and secondary view programmatically (e.g. by manipulating the FractionHolder). To me it looks like the fraction holder gets updated after the drag is over, but any changes to the value of the fraction holder are not propagated into the view. I'd like to provide a button that resets the split fraction to 0.5. Am I right in assuming that this is currently not possible?
The text was updated successfully, but these errors were encountered: