Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Can I hide RichTextItem toolbar?

    I'd like to hide the toolbar of a RichTextItem widget, which is used by a DynamicForm to show HTML content. I don't want user to change text settings, so I selected no toolbar buttons using RichTextItem.setControlGroups("")

    But just the buttons were hidden, he toolbar gray background is still visible. Is there any way to hide it?

    Matheus

    #2
    After its drawn call this code segment
    Code:
    for (int i = 0; i < e.getChildren().length; i++) {
      if (e.getChildren()[i].getID().contains("toolbar"))
        e.getChildren()[i].hide();
    }
    where e is the RichTextEditor

    Comment

    Working...
    X