I'm also interested in knowing how to do this. It really doesn't look good when embedding a TileGrid in a separate window or tab view that is already framed.
Chris
Originally posted by bvarga
I want to hide / disable / set to zero the 6px wide border of a TileGrid.
how can I do that?
That actually sets a border just inside the one I'm trying to get rid of.
The one that I'm trying to get rid of is actually made with images, not css.
In the Enterprise theme it uses the skins/Enterprise/images/edges/edge_[T|L|R|B].png images to create the border.
I should apologize for posting in this section. I did a search like I should before posting questions and found this question that appeared to be exactly the same question that I have, but I didn't realize until you posted this response that I was in the smartgwt section instead of the smartclient section. Although I do believe that this particular question applies to both, with the only difference being the method with which the setting is applied. For smartclient I tried setting border:"0px solid black" just to be sure, but that just sets a 0px width black border inside the image border (I also tried with "5px solid black" to ensure that it was in fact a different border and that the setting was getting properly applied).
If anyone else knows how to get rid of it I'd really like to know.
Thanks,
Chris
Originally posted by albu77
Did you Try this:
http://www.smartclient.com/smartgwt/javadoc/com/smartgwt/client/widgets/Canvas.html#setBorder%28java.lang.String%29
As luck would have it I just stumbled across the answer. For the SmartClient crowd the setting is:
showEdges:false
For the SmartGWT crowd it is probably:
public void setShowEdges(Boolean showEdges)
Thanks again,
Chris
That's it, thanks for sharing. While i didn't find this I started customizing one of the themes which doesn't have edges/borders, in the quick start pdf there's a good description of how to do that. If sb want bigger changes, I think that's the way.
Comment