Revision 8a47a9a5
Added by Katja Luther over 6 years ago
- ID 8a47a9a568de3de167b03c4f8cf65fbc15630521
- Parent d5f9749c
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/CdmFormFactory.java | ||
---|---|---|
787 | 787 |
*/ |
788 | 788 |
public RichTextEditor createRichTextEditor(Composite parent, String value, int style) { |
789 | 789 |
RichTextEditorConfiguration config = new RichTextEditorConfiguration(); |
790 |
config.setResizable(true); |
|
790 |
// config.setResizable(true);
|
|
791 | 791 |
config.setToolbarCollapsible(true); |
792 | 792 |
config.setToolbarInitialExpanded(false); |
793 | 793 |
config.setOption("allowedContent", Boolean.TRUE); |
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/RichTextWithLabelElement.java | ||
---|---|---|
126 | 126 |
|
127 | 127 |
protected void initText(String initialText, Integer textHeight, Integer textLimit, |
128 | 128 |
boolean isMultiLine, int style, Composite layoutComposite) { |
129 |
int scrollStyle = textHeight == null ? SWT.NULL : (SWT.V_SCROLL | SWT.MULTI);
|
|
129 |
int scrollStyle = textHeight == null ? SWT.NULL : ( SWT.MULTI); |
|
130 | 130 |
|
131 | 131 |
int combinedStyle = style | SWT.BORDER | scrollStyle; |
132 | 132 |
|
Also available in: Unified diff
minor changes for richtext field