Skip to content

Commit a4d7093

Browse files
committed
More fixes with recent GWTP Test
1 parent 23cf4e1 commit a4d7093

File tree

14 files changed

+21
-20
lines changed

14 files changed

+21
-20
lines changed

src/main/java/gwt/material/design/demo/client/application/addins/bubble/BubblePresenter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ interface MyProxy extends ProxyPlace<BubblePresenter> {
5353
@Override
5454
protected void onReveal() {
5555
super.onReveal();
56-
SetPageTitleEvent.fire("Bubble", "Addin component for chat module, it display a good bubble view of messages withing the chat module.", "addins/bubble/BubbleView", "", this);
56+
SetPageTitleEvent.fire("Bubble", "Addin component for chat module, it display a good bubble view of messages within the chat module.", "addins/bubble/BubbleView", "", this);
5757
}
5858

5959
}

src/main/java/gwt/material/design/demo/client/application/addins/camera/CameraView.ui.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
<p><b>restart()</b> - Restarts the video stream from the camera. The user is requested again by the browser to allow the application to use the camera.</p>
8787
<p><b>setPauseOnUnload(boolean pauseOnUnload)</b> - Sets if the camera capture should pause when the widget is unloaded.</p>
8888
<p><b>isPauseOnUnload()</b> - Returns if the camera capture should pause when the widget is unloaded.</p>
89-
<p><b>isSupported()</b> - ests if the browser supports the Streams API. This should be called before creating any MaterialCameraCapture widgets to avoid errors on the browser.</p>
89+
<p><b>isSupported()</b> - Sets if the browser supports the Streams API. This should be called before creating any MaterialCameraCapture widgets to avoid errors on the browser.</p>
9090
</blockquote>
9191
</g:HTMLPanel>
9292
</g:HTMLPanel>

src/main/java/gwt/material/design/demo/client/application/addins/splitpanel/SplitPanelView.ui.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@
9494
<m:MaterialTitle textAlign="CENTER" title="Right Zone" description="Content must be added here"/>
9595
</m:MaterialPanel>
9696
</ma:splitpanel.MaterialSplitPanel>
97+
</m:MaterialRow>
98+
99+
<m:MaterialRow addStyleNames="code">
97100
<m:MaterialTitle title="Horizontal Thichness" description="You can also set the horizontal bar thickness of your split panel."/>
98101
<ma:splitpanel.MaterialSplitPanel axis="VERTICAL" thickness="12" backgroundColor="BLUE" height="500px">
99102
<m:MaterialPanel backgroundColor="BLUE_LIGHTEN_2">

src/main/java/gwt/material/design/demo/client/application/components/badges/BadgesPresenter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,6 @@ protected void onReveal() {
5252
super.onReveal();
5353

5454
SetPageTitleEvent.fire("Badges", "Badges can notify you that there are new or unread messages or " +
55-
"notifications. Add the new class to the badge to give it the background.", "components/badges/BadgesView", "", this);
55+
"notifications. A badge can be both a notifier that there are additional items associated with an object and an indicator of how many items there are.", "components/badges/BadgesView", "", this);
5656
}
5757
}

src/main/java/gwt/material/design/demo/client/application/components/buttons/ButtonsView.ui.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,14 +100,14 @@
100100
<m:MaterialIcon margin="8" iconType="MORE_VERT" iconColor="GREY" waves="DEFAULT" circle="true"/>
101101

102102
<demo:PrettyPre addStyleNames="lang-xml z-depth-1">
103-
&emsp;&lt;m:MaterialIcon iconType="MENU" iconColor="BLUE" waves="DEFAULT" circle="true"//><br/>
104-
&lt;m:MaterialIcon iconType="FAVORITE" iconColor="RED" waves="DEFAULT" enabled="false" circle="true"//><br/>
105-
&lt;m:MaterialIcon iconType="MORE_VERT" iconColor="GREY" waves="DEFAULT" circle="true"//><br/>
103+
&emsp;&lt;m:MaterialIcon iconType="MENU" iconColor="BLUE" waves="DEFAULT" circle="true"/><br/>
104+
&lt;m:MaterialIcon iconType="FAVORITE" iconColor="RED" waves="DEFAULT" enabled="false" circle="true"/><br/>
105+
&lt;m:MaterialIcon iconType="MORE_VERT" iconColor="GREY" waves="DEFAULT" circle="true"/><br/>
106106
</demo:PrettyPre>
107107
</m:MaterialRow>
108108

109109
<m:MaterialRow addStyleNames="code">
110-
<m:MaterialTitle title="Disabled" description="When you set disabled='true' All events will be disabled."/>
110+
<m:MaterialTitle title="Disabled" description="When you set enabled='false' All events will be disabled."/>
111111
<m:MaterialButton margin="8" text="Button" iconType="POLYMER" iconPosition="LEFT" size="LARGE" enabled="false"/>
112112
<m:MaterialButton margin="8" text="Button" iconType="POLYMER" iconPosition="LEFT" enabled="false"/>
113113
<m:MaterialButton margin="8" text="Button" type="FLAT" enabled="false"/>

src/main/java/gwt/material/design/demo/client/application/components/chips/ChipsView.ui.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
</m:MaterialRow>
7474

7575
<m:MaterialRow addStyleNames="code">
76-
<m:MaterialTitle title="Contact Chips" description="Contact chips represent contact information that users have for people in a compact way. They are invoked and inserted into a text field (usually the To field) when the user starts typing a contact’s name, sees the contact’s addresses, and selects the correct one. Contact chips can be added directly to a text field from a menu of contacts. Contact chips efficiently confirm that the user will be sending their message to the correct person."/>
76+
<m:MaterialTitle title="Contact Chips" description="Contact chips represent contact information that users have for people in a compact way. They are invoked and inserted into a text field (usually the To field) when the user starts typing a contact's name, sees the contact's addresses, and selects the correct one. Contact chips can be added directly to a text field from a menu of contacts. Contact chips efficiently confirm that the user will be sending their message to the correct person."/>
7777
<m:MaterialRow>
7878
<m:MaterialChip margin="8" url="http://b.vimeocdn.com/ps/339/488/3394886_300.jpg" text="Yunalis Mat Zara'ai" iconType="CLOSE"/>
7979
<m:MaterialChip margin="8" url="http://lorempixel.com/50/50/people?1" text="Marjorie Matias" iconType="CLOSE"/>

src/main/java/gwt/material/design/demo/client/application/components/collections/CollectionsView.ui.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
</m:MaterialCollection>
7575

7676
<demo:PrettyPre addStyleNames="lang-xml">
77-
&emsp;&lt;m:MaterialCollection header="Header Title" active="2">
77+
&emsp;&lt;m:MaterialCollection header="Header Title" active="2"><br/>
7878
&emsp;&lt;m:MaterialCollectionItem>&lt;m:MaterialLabel text="Collecton 1"/>&lt;/m:MaterialCollectionItem><br/>
7979
&emsp;&lt;m:MaterialCollectionItem>&lt;m:MaterialLabel text="Collecton 2"/>&lt;/m:MaterialCollectionItem><br/>
8080
&emsp;&lt;m:MaterialCollectionItem>&lt;m:MaterialLabel text="Collecton 3"/>&lt;/m:MaterialCollectionItem><br/>
@@ -214,7 +214,7 @@
214214
&emsp;&emsp;&lt;m:MaterialLabel text="First Line"/><br/>
215215
&emsp;&emsp;&lt;m:MaterialLabel text="Second Line"/><br/>
216216
&emsp;&lt;/m:MaterialCollectionItem><br/>
217-
&emsp;&lt;-- Other Collection items here -->
217+
&emsp;&lt;-- Other Collection items here --><br/>
218218
&lt;/m:MaterialCollection><br/>
219219
</demo:PrettyPre>
220220
</m:MaterialRow>

src/main/java/gwt/material/design/demo/client/application/components/errors/ErrorsPresenter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ protected void onReveal() {
5454
super.onReveal();
5555

5656
SetPageTitleEvent.fire("Errors", "Errors occur when an app fails to complete what is expected, " +
57-
"such as: 1. The app does not understand user input,2. The system or app fails , 3. A user " +
57+
"such as: The app does not understand user input, The system or app fails , A user " +
5858
"intends to run incompatible operations concurrently", "components/errors/ErrorsView", "https://material.io/guidelines/patterns/errors.html#", this);
5959
}
6060
}

src/main/java/gwt/material/design/demo/client/application/components/errors/ErrorsView.ui.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<m:MaterialTitle title="Usage" description="You can easily set any error or success messages on each material widget by calling :" />
3232
<demo:PrettyPre addStyleNames="lang-java">
3333
&emsp;txtBox.setError("Please provide your name");<br/>
34-
txtBox.setError("Your username is available");
34+
txtBox.setSuccess("Your username is available");
3535
</demo:PrettyPre>
3636
</m:MaterialRow>
3737

@@ -122,7 +122,7 @@
122122
<!-- Range -->
123123
<m:MaterialRow>
124124
<m:MaterialTitle title="Range" />
125-
<m:MaterialRange ui:field="range" grid="s12 m12 l5" />
125+
<m:MaterialRange min="0" max="100" value="50" ui:field="range" grid="s12 m12 l5" />
126126
</m:MaterialRow>
127127
<m:MaterialRow>
128128
<m:MaterialButton ui:field="btnErrorRange" text="Error" backgroundColor="RED" waves="LIGHT"/>

src/main/java/gwt/material/design/demo/client/application/components/fabs/FABView.ui.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@
7575

7676
<demo:PrettyPre addStyleNames="lang-java">
7777
&emsp;@UiField MaterialFAB fab;<br/><br/>
78-
7978
fab.open();<br/>
8079
fab.close();<br/>
8180
</demo:PrettyPre>

0 commit comments

Comments
 (0)