cancel
Showing results for 
Search instead for 
Did you mean: 

border width in a viewset

Former Member
0 Kudos

Hi all,

I want to set width of borders in a viewset (or space between different view), but i don't find this in the properties of viewset.

What can i do?

thanks

Andrea

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Use a grid layout in the view set and set additional columns that would act like borders in the viewset and the set the width in the properties.

for eg;

if you require 2 views and require a space between the two , use gridlayout of 3 columns and set the width for the middle column. it would act like a border.

Regards

Noufal

Former Member
0 Kudos

If you need always the same space between the cells you can try to set "cellSpacing" und "cellPadding" in the RootUIElementContainer if you set this to GridLayout.

Frank

Answers (1)

Answers (1)

Former Member
0 Kudos

Andrea,

Probably this will work better:

1. Use GridLayout on main view of your component

2. Embedd ViewContainerElement here for other views in corresponding cells

3. Place main view in window, then add other views in supplied placeholders (one per ViewContainerElement)

Arranging views this way is much flexible then using ViewSet on window.

Valery Silaev

EPAM Systems

http://www.netweaverteam.com/

Former Member
0 Kudos

Correct.

I would use a MatrixLayout instead of a GridLayout, because it provides useful spacing by default.

Armin