Hello,
I am using
SmartClient Version: v8.3p_2013-04-19/PowerEdition Deployment (built 2013-04-19)
With firefox 17.0.1
How do I set the background color on a tab. I have a tabset and some tabs. I can get the canvas on the tab to change background, but not the tab (the area behind the text on each tab) and the entire tab. Here is what I have so far, which works for the canvas.
Thanks,
Evan
HTMLPane htmlPane = new HTMLPane();
htmlPane.setAutoDraw(false);
I am using
SmartClient Version: v8.3p_2013-04-19/PowerEdition Deployment (built 2013-04-19)
With firefox 17.0.1
How do I set the background color on a tab. I have a tabset and some tabs. I can get the canvas on the tab to change background, but not the tab (the area behind the text on each tab) and the entire tab. Here is what I have so far, which works for the canvas.
Thanks,
Evan
HTMLPane htmlPane = new HTMLPane();
htmlPane.setAutoDraw(false);
Code:
htmlPane.setContentsURL("./html/Home/index.html");
htmlPane.setContentsType(ContentsType.PAGE);
String strColor = "#BFFF9F";
htmlPane.setBackgroundColor(strColor);
htmlPane.setWidth100();
htmlPane.setHeight100();
htmlPane.setPadding(0);
tabHome.setPane(htmlPane);
tabHome.setPaneMargin(0);
tabHome.setAttribute("backgroundColor", strColor);
tabHome.setAttribute("background-color", strColor);
tabHome.setAttribute("background-image", "");
Comment