PDA

View Full Version : Reducing resizable border width of a Window



gaurav1sep@gmail.com
2 Dec 2015, 10:00 PM
Hi Guys,

I am creating an overlay class by extending Window. I have added a GrayWindowAppreance to it. This by default adding resizable border of 6px. Due to which minimum size of an overlay is coming around 15 px. Is it possible to reduce this resizable border to around 2 px.
Code is something like this :

public class Overlay extends Window {
public Overlay() {
super(new GrayWindowAppearance());
}
......
.....

P.S: I have already tried setBorderWidth and adding style with CSS.

Any help is much appreciated.