|
Replies:
1
-
Last Post:
Dec 1, 2008 4:06 PM
by: kleopatra
|
|
|
|
|
|
|
MultiSplitLayout and JXMultiSplitPane questions ...
Posted:
Dec 1, 2008 4:06 PM
|
|
|
|
|
|
|
|
|
|
Re: MultiSplitLayout and JXMultiSplitPane questions ...
Posted:
Dec 1, 2008 4:06 PM
in response to: Guest
|
|
|
Yet another update (before needing some sleep 
Just committed two visual test methods in JXMultiSplitPaneIssues. Both have an action to replace a component in the multiLayout (the upper right in the example), one revalidates as usual, the other uses layoutByWeight. Expected ideal (could be my misconception, of course) behaviour is to not change any child sizes in both. But then, the one with a revalidate might change a bit because the contained component is different, so might have a bit of different pref size. The other should keep the relative size constant - but doesn't always: sometimes (initially and after having resized the frame) the replaced container doesn't quite fill its slot. Which re/in/validate methods to call, was a bit a guessing game - much helps much <g>. That could well be a (my) user error.
Thoughts?
Thanks! Jeanette
--------------------------------------------------------------------- To unsubscribe, e-mail: jdnc-unsubscribe@jdnc.dev.java.net For additional commands, e-mail: jdnc-help@jdnc.dev.java.net
|
|
|
|
|