Here is easy Path to demonstrate the problem
1 - got the web developper extension for firefox if it is not already done (Really usefull : https://addons.mozilla.org/firefox/60/)
2- go to page http://www.wicket-library.com/wicket-examples/ajax?wicket:bookmarkablePage=:wicket.examples.ajax.builtin.tree.SimpleTreePage
3- Click the link to expand all node
4- Open up the the CSS edit tool ( CTRL-SHIFT-E )
5 - In div wicket-tree, set the width variable to 15.
Now, you should see that some of the element of the table disapred because there was no place to display them. My problem, while not being exclusively that, is related to that. Is it not possible to make the tree scrollable horizontally when the content is larger that the space to display the tree?
It seems to be only a CSS problem, but I still don't know how to solve it. Using the auto tag for width is not a goot solution. For the exemple, the tree will take all the place in the page, but when a node will eventually be more width than the page, it will just also disapear.
I hope I was more clear about the problem. Thinks in advance for any suggestion or solution.
Marc
On 9/18/06, Marc-Andre Houle <
[EMAIL PROTECTED]> wrote:
I got a problem when using the tree. in wicket 1.2.2.In the context I am working on, I'm loading a list of node in the tree. The problem is that the tree is sometimes not large enough.Here are the step I have done for now :First, I wanted to check if the problem was the stylesheet we use. It doesn't seem's too since the problem can be repeated in the wicket Tree exemple.. When you use the simple tree in the exemple and try to feed it with lot ant lot of sub folder or entering a very long string, it finish by making disapear come of the node.So, after that, I wanted to know what can provoke the problem. I have found that the wicket-tree style in the CVS set a width for the tree.div.wicket-tree {
white-space: nowrap;
border: 1px solid #ccc;
width: 20em;
overflow: auto;
margin: 10px;
line-height: 1.5em;
}I tried to overwrite this with auto, 100% or anything like that. But finally, it does nothing more interesting. I can put a larger number, like 40, but it will be ugly on the screen 98% of the time.Is it possible to make this panel autosizeable or having a horizontal scrooling bar. I mean, is there a way to make it look fancier for an all time usage without having object disaprearing when there is a long horizontale line to display. I'm not much in CSS coding, so I probably didn't try everything.Thanks in advance.Wicket is the best Framwork I ever used. It is the first real trouble I got for now and I'm sure it is nothing big.
Marc
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user