Page 2 of 2

Re: Subfolder Recurse restrictions

Posted: Wed Nov 14, 2012 8:41 am
by SubJunk
I can try to help, what is it that you don't understand about it?

Re: Subfolder Recurse restrictions

Posted: Wed Nov 14, 2012 2:53 pm
by DevlshOne
My plan was to split the existing FList area into thrids, devote 2/3 to the regular folder list and 1/3 to the non-recursive folder list. I've got quite a bit of work done in message.properties and NavigationShareTab.java, already. I just can't seem to figure out where to expand the layout and then incorporate the new properties. I also thought that I would re-vamp the Navigation Tab while I was in there. I am attaching the work I've already done, including a sketch of what I'd like the new Navigation Tab to look like.
NonRecursive.zip
two files I have already edited
(11.5 KiB) Downloaded 544 times
NewGUI-Sketch.rar
(235.18 KiB) Downloaded 533 times

Re: Subfolder Recurse restrictions

Posted: Wed Nov 14, 2012 2:59 pm
by DevlshOne
Oh, and in particular, why do I keep seeing the '.flip' method being used in conjunction with the layout util? My understanding is that its only used for screen rotation orientations.

Re: Subfolder Recurse restrictions

Posted: Wed Nov 14, 2012 3:28 pm
by SubJunk
With regards to flip, it's used for languages that read right-to-left, like Arabic.

With regards to the code, there's some good stuff there like variable renaming, and then some stuff we won't keep too like formatting changes - I do need to write up a document on how this project's code is formatted.

So to do what you want with the columns I think you could just change the line:

Code: Select all

recursiveFoldersPanelBuilder.add(pane, FormLayoutUtil.flip(cc.xyw(1, 5, 6), colSpec, orientation));
To something like:

Code: Select all

recursiveFoldersPanelBuilder.add(pane, FormLayoutUtil.flip(cc.xyw(1, 5, 4), colSpec, orientation));
Then put your other one on the right.

However I think it would be much better to design it differently; have just one folder list, but put a checkbox next to each entry that is enabled by default, then if the user unticks it then it is non-recursive.

Re: Subfolder Recurse restrictions

Posted: Thu Nov 15, 2012 12:49 am
by DevlshOne
I agree about the single list with tick marks but then we're talking checkboxes inside the textarea and that's truly blowing my mind! LOL! Like I said, if someone can handle the GUI re-design and layout changes, I'll gladly continue to work the logic.