atulmore777 / gwt-html-editor

Automatically exported from code.google.com/p/gwt-html-editor
0 stars 0 forks source link

Color selection grid forTextColor or TextBackgroundColor buttons do not include white. #14

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
  Click TextColor or TextBackgroundColor button (image) in Editor.

What is the expected output? What do you see instead?
  A grid of color choices is expected, including white (i.e., no color).

What version of the product are you using? On what operating system?
  GWT Version 1.3 RC (gwt-linux-1.3.1) on Debian Linux and Windows XP.

Please provide any additional information below.
  An inspection of Editor java code shows that the grids for the two above
buttons are displayed by the constructor of the EditorColorPicker class. 
The grids are 12x18, with colors that should go from black (#000000) in the
top left corner to white (#FFFFFF) in the bottom right corner.  The grids
are built from a String array, using 12 as the number of colors in a row
from the String array, when there is actually 18 colors in a row.  There
are two statements in EditorColorPicker, where this happens.  See the
attached file for a version of EditorColorPicker that produces the correct
results.

Have you reported/discussed this issue on the support group?

Yes. See:
http://groups.google.com/group/gwt-rich-text-editor/browse_thread/thread/c5a961e
b5d83ffb4

Daniel Hoyle

Original issue reported on code.google.com by dhho...@gmail.com on 8 Jan 2007 at 10:35

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks Danny. I'll take a look and include your fix in the next release.

Original comment by pave...@gmail.com on 8 Jan 2007 at 4:11

GoogleCodeExporter commented 9 years ago

Original comment by pave...@gmail.com on 8 Jan 2007 at 4:11

GoogleCodeExporter commented 9 years ago

Original comment by pave...@gmail.com on 10 Jan 2007 at 5:20