forked from GitHub/gf-core
make the text in the SyntaxEditor float nicely
This commit is contained in:
@@ -87,7 +87,7 @@ public class AbstractSyntaxController {
|
|||||||
|
|
||||||
private Panel addPanel(TreeItem item, Panel parentPanel)
|
private Panel addPanel(TreeItem item, Panel parentPanel)
|
||||||
{
|
{
|
||||||
HorizontalPanel wordsPanel = new HorizontalPanel();
|
FlowPanel wordsPanel = new FlowPanel();
|
||||||
wordsPanel.setStylePrimaryName("my-WordsPanel");
|
wordsPanel.setStylePrimaryName("my-WordsPanel");
|
||||||
panels.put(wordsPanel,item);
|
panels.put(wordsPanel,item);
|
||||||
|
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.my-WordLabel {
|
.my-WordLabel {
|
||||||
|
float: left;
|
||||||
padding: 2px;
|
padding: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user