I got the solution.

ext-all.css was overriding the style for ol and ul.

here is the solution.
descPanel.setCls("app-style");

and in CSS:

.app-style ol{
        list-style-type: decimal;
        list-style-position: inside;
        list-style-image: none;
        padding-left: 30px;
}
. app-style ul{
        list-style-type:disc;
        list-style-position:inside;
        list-style-image:none;
        padding-left: 30px;
}

Thanks,
Bakul

On Oct 22, 6:10 pm, Bakulkumar <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am using an HTMLEditor for description of a field to get rich text
> on it. And this description is being used in a Panel as a read only on
> other Screen. Text type, style, Bold, italic, underline, text size,
> color, background color and alignment works fine. I mean its being
> displayed correctly on ReadOnly Panel. Only issue is with Bullets and
> numbering, its being displayed in HTMLEditor perfectly fine, but once
> I try to render that HTML on read only panel, its not being shown.
>
> I am using
> String desc = htmlEditor.getValueAsString(); to get the data of
> HTMLEditor and descPanel.setHtml(desc); to populate Panel with that
> HTML
>
> Please let me know if I am missing anything.
>
> Thanks.
> Bakul.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"GWT-Ext Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/gwt-ext?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to