Commit 0690ea58 authored by Guillaume Surrel's avatar Guillaume Surrel
Browse files

Avoid some autoboxing.

parent 8776b7ca
......@@ -59,7 +59,7 @@ public class LoginWidget extends BaseWidget<LoginPresenter> {
DynamicForm form = new DynamicForm();
form.setWidth(150);
form.setHeight(500);
form.setShowEdges(false);
form.setShowEdges(Boolean.FALSE);
form.setAlign(Alignment.CENTER);
form.setPadding(30);
form.setAutoFocus(Boolean.TRUE);
......@@ -68,7 +68,7 @@ public class LoginWidget extends BaseWidget<LoginPresenter> {
TextItem username = new TextItem();
username.setName("username");
username.setTitle(Application.messages.loginWidget_usernameField_title());
username.setRequired(true);
username.setRequired(Boolean.TRUE);
username.setWidth(150);
username.setAlign(Alignment.CENTER);
username.setSelectOnFocus(Boolean.TRUE);
......@@ -76,7 +76,7 @@ public class LoginWidget extends BaseWidget<LoginPresenter> {
PasswordItem password = new PasswordItem();
password.setName("password");
password.setTitle(Application.messages.loginWidget_passwordField_title());
password.setRequired(true);
password.setRequired(Boolean.TRUE);
password.setWidth(150);
password.setAlign(Alignment.CENTER);
......
......@@ -94,10 +94,10 @@ public class MainWidget extends BaseWidget<MainPresenter> {
headerLayout.addMember(headerImg);
applicationLayout = new VLayout();
applicationLayout.setShowEdges(false);
applicationLayout.setShowEdges(Boolean.FALSE);
applicationLayout.setWidth100();
applicationLayout.setHeight100();
applicationLayout.setShowResizeBar(true);
applicationLayout.setShowResizeBar(Boolean.TRUE);
applicationLayout.setMembersMargin(2);
applicationLayout.setLayoutMargin(2);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment