Skip to Content
avatar image
Former Member

border width in a viewset

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Aug 30, 2005 at 07:35 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • avatar image
    Former Member
    Aug 30, 2005 at 09:46 AM

    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/

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Correct.

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

      Armin