Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Portal - How to change drop line color or thickness

    Hello,

    Is it possible to change drop line color or thickness when using PortalLayout? I've tried to use setDropLineProperties and setDropLineThickness methods, but the line remains blue.

    Here is my code:
    Code:
    PortalLayout mPortalLayout = new PortalLayout();
    mPortalLayout = new PortalLayout(1);
    		
    mPortalLayout.setWidth(700);
    mPortalLayout.setHeight(800);
    		
    Canvas c = new Canvas();
    c.setBackgroundColor("red");
    mPortalLayout.setDropLineProperties(c);
    mPortalLayout.setDropLineThickness(10);
    		
    Portlet portlet1 = new Portlet();
    portlet1.setTitle("1");
    Portlet portlet2 = new Portlet();
    portlet2.setTitle("2");
    		
    mPortalLayout.addPortlet(portlet1);
    mPortalLayout.addPortlet(portlet2);
    		
    mPortalLayout.draw();
    Thanks,
    Olga.
Working...
X