Skip to main content

how to change border size of the table layout??

1 reply [Last post]
bayu.utomo
Offline
Joined: 2011-10-24
Points: 0

hello all,

as I know, the table layout in LWUIT is inspired by the HTML table tag. But i can not find the way to change border size in table layout like i do in html table tag like this :

<table border="0">

please, tell me how to change the border size in table layout with LWUIT API.

thanks in advance

Bayu

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
vprise
Offline
Joined: 2003-11-07
Points: 0

Table layout doesn't have a border since it is only a layout. To change spacing within the table you need to modify the padding/margin of the components/container.

The padding of the container determines the spacing of the components from the edge of the container and the margin of the individual components keeps them away from one another. Their padding might have a similar effect but it is more internal.