Project

General

Profile

« Previous | Next » 

Revision 3197cc4e

Added by Andreas Kohlbecker about 6 years ago

EntityCacheDebuggerComponent layout improvment

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/debug/EntityCacheDebuggerComponent.java
13 13
import com.vaadin.data.util.HierarchicalContainer;
14 14
import com.vaadin.data.util.IndexedContainer;
15 15
import com.vaadin.data.util.filter.SimpleStringFilter;
16
import com.vaadin.shared.ui.label.ContentMode;
16 17
import com.vaadin.ui.CustomComponent;
17
import com.vaadin.ui.TextArea;
18
import com.vaadin.ui.Label;
18 19
import com.vaadin.ui.TextField;
19 20
import com.vaadin.ui.Tree;
20 21
import com.vaadin.ui.VerticalLayout;
......
61 62
        entityTree = new Tree("Cache Content");
62 63
        buildTree(entityTree, debugResults.getRootElements());
63 64

  
64
        TextArea debugInformation = new TextArea("Debug Information");
65
        Label debugInformation = new Label(); // );
66
        debugInformation.setCaption("Debug Information");
65 67
        debugInformation.setValue(debugResults.toString());
68
        debugInformation.setContentMode(ContentMode.PREFORMATTED);
66 69

  
67 70
        setCompositionRoot(layout);
68 71

  
69 72
        entityTree.setSizeUndefined();
70 73
        debugInformation.setSizeUndefined();
71 74
        debugInformation.setWidth("100%");
72
        debugInformation.setRows(100);
75
        // debugInformation.setRows(100);
73 76
        debugInformation.setReadOnly(true);
74 77
        splitPanel.setFirstComponent(entityTree);
75 78
        splitPanel.setSecondComponent(debugInformation);

Also available in: Unified diff