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:
Thanks,
Olga.
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();
Olga.