Page 1 of 1

JadeDockContainer...Your thoughts?

Posted: Fri Aug 07, 2009 1:04 pm
by ConvertFromOldNGs
by cnwtb2 >> Wed, 15 Nov 2006 19:40:42 GMT

Hello All,

I have created a PARSYS entry regarding the following, I would like to know what people think on the matter and any experiences they have.

The current mechanism for JadeDockContainer's when adding to a form and aligning them to the parent is to fully lock the entire space in which they have been aligned. If another JadeDockContainer is added to the form the same approach applies with the order of precedence being: Top and Bottom, then left and Right. Hence, if I were to add a JadeDockContainer to a form and align it to the left it would take the entire left side of the form. If I were then to add another JadeDockContainer and align it to the Top (or Bottom) then this takes precedence over the Left (or Right) aligned JadeDockContainer and fills the entire Top (or Bottom) of the form which forces the left aligned JadeDockContainer to resize down to accommodate the newly Top aligned JadeDockContainer.

Would it not be more beneficial to have the order of precedence sorted by when the control was added?

If I added a Left aligned JadeDockContainer and then added a Bottom aligned JadeDockContainer, I would expect the Left aligned JadeDockContainer to have precedence over the Bottom because it was added first and therefore the Bottom aligned JadeDockContainer would align to the Bottom but would only take up the space that was free due to the Left aligned JadeDockContainer already having some of the existing bottom space. This approach to JadeDockContainers would also keep the current implemented mechanism without any sacrifice for space and therefore not affect any current methodologies that people have in place for using JadeDockContainer's.

I see no detrimental effects that this new approach would have on a Jade orientated system, in fact, I believe that the JadeDockContainer and JadeDockBar would be more happily used if the user themselves had more control over how they were to be placed.

Your thoughts?

Re: JadeDockContainer...Your thoughts?

Posted: Fri Aug 07, 2009 1:04 pm
by ConvertFromOldNGs
by Alan >> Thu, 16 Nov 2006 7:18:07 GMT

My use of JadeDockContainer has been limited, my initial reaction would be to be it upon tab sequence - I imagine it would be a pain to have to reload all current containers in the correct sequence to alter one container.
Maybe have a couple new attributes for (say) Top and Bottom aligned container indicating if it "submits" to a left or right container e.g. submitToLeft / submitToRight