Q:What steps will reproduce the problem?
Here's the sample code:
public void setBackgroundColor(String color) {
if (color == null)
return;
backgroundColorBtn.setColor(color);
Utils.setBackgroundColor(spreadsheet.getSelectedSheet(),
getSpreadsheetMaxSelection(), backgroundColorBtn.getColor());
}
public void setFontColor(String color) {
if (color == null)
return;
fontColorBtn.setColor(color);
Utils.setFontColor(spreadsheet.getSelectedSheet(),
getSpreadsheetMaxSelection(), fontColorBtn.getColor());
}
Q:What is the expected output? What do you see instead?
Background/Font color is not set correctly.
For example, if we set the background of a cell to "#9D87A4", somehow it will
be converted as "#969696".
Another example is that we set the color "#D60A65" but it will be "#993366"
Q:What version of the product are you using? On what operating system?
Version: ZK Spreadsheet 2.0
Please provide any additional information below.
Original issue reported on code.google.com by jean...@gmail.com on 25 Jan 2011 at 12:38
Original issue reported on code.google.com by
jean...@gmail.com
on 25 Jan 2011 at 12:38