@@ -44,6 +44,9 @@ public void setClientFactory(ClientFactory clientFactory) {
44
44
@ Override
45
45
public Widget asWidget () {
46
46
if (widget == null ) {
47
+ // Be sure to inject the gss styles!
48
+ AppBundle .INSTANCE .appStyles ().ensureInjected ();
49
+
47
50
header = new SimpleContainer ();
48
51
header .add (createHeader ());
49
52
@@ -104,7 +107,8 @@ private Widget createHeader() {
104
107
Anchor anchorHome = new Anchor ("Home" , "#home:" );
105
108
Anchor anchorGrid = new Anchor ("Simple Grid" , "#simplegrid:" );
106
109
Anchor anchorLiveGrid = new Anchor ("Live Grid" , "#livegrid:" );
107
- Anchor anchorSplitLiveGrid = new Anchor ("Split Grid" , "#splitgrid:" );
110
+ Anchor anchorSplitGrid = new Anchor ("Split Grid" , "#splitgrid:" );
111
+ Anchor anchorLiveSplitGrid = new Anchor ("Live Split Grid" , "#livesplitgrid:" );
108
112
Anchor anchorLogin = new Anchor ("Login" , "#login:" );
109
113
110
114
BoxLayoutData layoutData = new BoxLayoutData ();
@@ -114,11 +118,13 @@ private Widget createHeader() {
114
118
flex .setFlex (1 );
115
119
116
120
HBoxLayoutContainer header = new HBoxLayoutContainer (HBoxLayoutAlign .MIDDLE );
121
+ header .setEnableOverflow (false );
117
122
header .add (new HTML ("Company" ), layoutData );
118
123
header .add (anchorHome , layoutData );
119
124
header .add (anchorGrid , layoutData );
120
125
header .add (anchorLiveGrid , layoutData );
121
- header .add (anchorSplitLiveGrid , layoutData );
126
+ header .add (anchorSplitGrid , layoutData );
127
+ header .add (anchorLiveSplitGrid , layoutData );
122
128
header .add (new SimpleContainer (), flex ); // align next item to the right
123
129
header .add (anchorLogin , layoutData );
124
130
0 commit comments