1
어떻게 하나 (angel이라는 새로운) 레이아웃 구성 요소 내가 UI 구성 요소를 추가 어떤 구성 요소 지금스크롤 angel이라는 견해는 일부 구성 요소가 나타납니다
를 사용하여 만약 angel에서 HTML 웹 페이지를 얻을 수있는 페이지의 모든 구성 요소를 표시합니다 브라우저 ...
내가 계층 당신은 레이아웃 스크롤을 제공하지 않기 때문에 패널로 콘텐츠를 넣어야 할
public class LoginView extends CustomComponent implements View,
Button.ClickListener {
public static final String NAME = "login";
private TextField user;
private PasswordField password;
private Button loginButton;
NativeSelect select_role;
private HorizontalLayout fieldsBottomPanel;
private VerticalLayout fieldsLeftPanel;
private GridLayout loginPanelGrid;
private VerticalLayout filedsTopPanel;
private VerticalLayout loginFormLayout;
private Label top_header_panel;
private VerticalLayout virtualKeyboard;
private VerticalLayout fieldsRightPanel;
private VerticalLayout footer;
private VerticalLayout header;
private Window page;
public LoginView() {
setSizeFull();
addTopPanelToLoginForm();
addLeftPanelToLoginForm();
addBottomPanelToLoginForm();
addRightPanelToLoginForm();
addLoginFormToPage();
addFooterToPage();
addHeaderToPage();
VerticalLayout viewLayout = new VerticalLayout(header,loginFormLayout,footer);
viewLayout.setComponentAlignment(loginFormLayout,
Alignment.MIDDLE_CENTER);
viewLayout.setStyleName(Reindeer.LAYOUT_WHITE);
setCompositionRoot(viewLayout);
}
public void addHeaderToPage(){
header = new VerticalLayout();
header.setStyleName("header-login");
}
public void addFooterToPage(){
footer = new VerticalLayout();
footer.addStyleName("footer-login");
}
}
공유 할 수있는 스크린 샷이나 코드 블록이 있습니까? – PopoFibo
더 많은 콘텐츠가있을 때 기본 스크롤과 같은 웹 사이트가 필요합니다 ... – aps109