pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roger L. Whitcomb" <Roger.Whitc...@actian.com>
Subject RE: how to give padding through java code
Date Mon, 08 Oct 2012 16:12:26 GMT
Try doing this:

boxpane.getStyles().put("padding", new Insets(2,4,6,8));

where the parameters for "Insets" are top, left, bottom, right in that




From: V SANTOSH PAVAN RAJU Bs [mailto:pavanraju.mca@gmail.com] 
Sent: Monday, October 08, 2012 7:36 AM
To: user@pivot.apache.org
Subject: how to give padding through java code



i tried to apply padding for a boxpane(which has some components)
through java code as

boxpane.getStyles().put("padding", 10);

here this padding value was applied to all the sides of baxpane i.e,

So how can i apply padding to only one side through java code?


Thanks & Regards

B.S.V.S.Pavan Raju.

Skype: skype_pavan1



View raw message