Saturday, June 18, 2011

Re: FormPanel problems ( HTML Editor and background)

Problem 2 SOLVED
I had to change the background-color property for
x-panel-body-noheader

Thank you Firebug :)

On 18 iun., 17:26, BogdanB <buta.i.bog...@gmail.com> wrote:
> Hy,
> I hava a project where I use GWT-EXT, it's not bad but it comes with a
> lot of problems like the html EDITOR.
> The code below has 2 problems:
> 1. As I said the html EDITOR
>  - is showing false when I test it in the browser
>  - the toolbar for editing is disabled
>
> 2. The background for the FormPanel is white and I can't find the CSS
> to change it
>
> Any ideas for the these two problems?
>
> Here's a part of the code:
>
> [CODE]
>                 FormPanel formPanel = new FormPanel();
>
>                 TextArea textArea = new TextArea("TO", "text_area");
>                 formPanel.add(textArea);
>                 textArea.setSize("400px", "100px");
>
>                 Canvas canvas = new Canvas();
>                 canvas.setSize("530px", "30px");
>                 formPanel.add(canvas);
>
>                 Label lblPersonalizedMessage = new Label("Personalized message:");
>                 formPanel.add(lblPersonalizedMessage);
>
>                 HtmlEditor htmlEditor = new HtmlEditor("Message");
>                 htmlEditor.setFieldMsgTarget("under");
>                 htmlEditor.setHideLabel(true);
>                 formPanel.add(htmlEditor);
>                 htmlEditor.setSize("530px", "230px");
>                 absolutePanel.add(formPanel, 10, 45);
>                 formPanel.setSize("530px", "380px");
> [CODE]
>
> Thanks

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate