Java Code Examples for com.vaadin.ui.VerticalLayout#addStyleName()
The following examples show how to use
com.vaadin.ui.VerticalLayout#addStyleName() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: AbstractHawkbitLoginUI.java From hawkbit with Eclipse Public License 1.0 | 6 votes |
protected Component buildLoginForm() { final VerticalLayout loginPanel = new VerticalLayout(); loginPanel.setSizeUndefined(); loginPanel.setSpacing(true); loginPanel.addStyleName("login-panel"); Responsive.makeResponsive(loginPanel); loginPanel.addComponent(buildFields()); if (isDemo) { loginPanel.addComponent(buildDisclaimer()); } loginPanel.addComponent(buildLinks()); checkBrowserSupport(loginPanel); return loginPanel; }
Example 2
Source File: MultipleTargetFilter.java From hawkbit with Eclipse Public License 1.0 | 6 votes |
private Component getSimpleFilterTab() { simpleFilterTab = new VerticalLayout(); targetTagTableLayout = new VerticalLayout(); targetTagTableLayout.setSizeFull(); if (menu != null) { targetTagTableLayout.addComponent(menu); targetTagTableLayout.setComponentAlignment(menu, Alignment.TOP_RIGHT); } targetTagTableLayout.addComponent(filterByButtons); targetTagTableLayout.setComponentAlignment(filterByButtons, Alignment.MIDDLE_CENTER); targetTagTableLayout.setId(UIComponentIdProvider.TARGET_TAG_DROP_AREA_ID); targetTagTableLayout.setExpandRatio(filterByButtons, 1.0F); simpleFilterTab.setCaption(i18n.getMessage("caption.filter.simple")); simpleFilterTab.addComponent(targetTagTableLayout); simpleFilterTab.setExpandRatio(targetTagTableLayout, 1.0F); simpleFilterTab.addComponent(filterByStatusFooter); simpleFilterTab.setComponentAlignment(filterByStatusFooter, Alignment.MIDDLE_CENTER); simpleFilterTab.setSizeFull(); simpleFilterTab.addStyleName(SPUIStyleDefinitions.SIMPLE_FILTER_HEADER); return simpleFilterTab; }
Example 3
Source File: DashboardMenu.java From hawkbit with Eclipse Public License 1.0 | 6 votes |
private VerticalLayout buildMenuItems() { final VerticalLayout menuItemsLayout = new VerticalLayout(); menuItemsLayout.addStyleName("valo-menuitems"); menuItemsLayout.setHeight(100.0F, Unit.PERCENTAGE); final List<DashboardMenuItem> accessibleViews = getAccessibleViews(); if (accessibleViews.isEmpty()) { accessibleViewsEmpty = true; return menuItemsLayout; } initialViewName = accessibleViews.get(0).getViewName(); for (final DashboardMenuItem view : accessibleViews) { final ValoMenuItemButton menuItemComponent = new ValoMenuItemButton(view); menuButtons.add(menuItemComponent); menuItemsLayout.addComponent(buildLabelWrapper(menuItemComponent, view.getNotificationUnreadLabel())); } return menuItemsLayout; }
Example 4
Source File: UploadArtifactView.java From hawkbit with Eclipse Public License 1.0 | 5 votes |
private VerticalLayout createDetailsAndUploadLayout() { detailAndUploadLayout = new VerticalLayout(); detailAndUploadLayout.addComponent(artifactDetailsLayout); detailAndUploadLayout.setComponentAlignment(artifactDetailsLayout, Alignment.TOP_CENTER); detailAndUploadLayout.setExpandRatio(artifactDetailsLayout, 1.0F); if (permChecker.hasCreateRepositoryPermission()) { detailAndUploadLayout.addComponent(dropAreaLayout.getDropAreaWrapper()); } detailAndUploadLayout.setSizeFull(); detailAndUploadLayout.addStyleName("group"); detailAndUploadLayout.setSpacing(true); return detailAndUploadLayout; }
Example 5
Source File: TargetBulkUpdateWindowLayout.java From hawkbit with Eclipse Public License 1.0 | 5 votes |
private VerticalLayout getTokenFieldLayout() { final TagPanelLayout tagPanelLayout = targetBulkTokenTags.getTagPanel(); tagPanelLayout.setMargin(false); final VerticalLayout tokenLayout = SPUIComponentProvider.getDetailTabLayout(); tokenLayout.addStyleName("bulk-target-tags-layout"); tokenLayout.addComponent(tagPanelLayout); tokenLayout.setSpacing(false); tokenLayout.setMargin(false); tokenLayout.setSizeFull(); tokenLayout.setHeight("100px"); tokenLayout.setId(UIComponentIdProvider.BULK_UPLOAD_TAG); return tokenLayout; }
Example 6
Source File: DashboardMenu.java From hawkbit with Eclipse Public License 1.0 | 5 votes |
private static VerticalLayout getMenuLayout() { final VerticalLayout menuContent = new VerticalLayout(); menuContent.addStyleName(ValoTheme.MENU_PART); menuContent.addStyleName("sidebar"); menuContent.addStyleName("no-vertical-drag-hints"); menuContent.addStyleName("no-horizontal-drag-hints"); menuContent.setWidth(null); menuContent.setHeight("100%"); return menuContent; }
Example 7
Source File: CubaColorPickerPopup.java From cuba with Apache License 2.0 | 5 votes |
@Override protected Component createSelectTab() { VerticalLayout selLayout = new VerticalLayout(); selLayout.setSpacing(false); selLayout.setMargin(new MarginInfo(false, false, true, false)); selLayout.addComponent(selPreview); selLayout.addStyleName("seltab"); colorSelect = new CubaColorPickerSelect(); colorSelect.addValueChangeListener(this::colorChanged); selLayout.addComponent(colorSelect); return selLayout; }
Example 8
Source File: ServiceDesc.java From primecloud-controller with GNU General Public License v2.0 | 5 votes |
@Override public void attach() { setWidth("100%"); setHeight("100%"); setCaption(ViewProperties.getCaption("panel.serviceDesc")); addStyleName("service-desc-panel"); addStyleName(Reindeer.PANEL_LIGHT); VerticalLayout layout = (VerticalLayout) getContent(); layout.setWidth("100%"); layout.setHeight("100%"); layout.setMargin(false); layout.setSpacing(false); layout.addStyleName("service-desc-layout"); tab = new TabSheet(); tab.addStyleName(Reindeer.TABSHEET_BORDERLESS); tab.setWidth("100%"); tab.setHeight("100%"); addComponent(tab); // 基本情報タブ serviceDescBasic = new ServiceDescBasic(sender); tab.addTab(serviceDescBasic, ViewProperties.getCaption("tab.serviceDescBasic"), Icons.BASIC.resource()); // 詳細情報タブ serviceDescDetail = new ServiceDescDetail(); tab.addTab(serviceDescDetail, ViewProperties.getCaption("tab.serviceDescDetail"), Icons.DETAIL.resource()); tab.addListener(new SelectedTabChangeListener() { @Override public void selectedTabChange(SelectedTabChangeEvent event) { ServiceDesc.this.selectedTabChange(event); } }); }
Example 9
Source File: AbstractMetadataPopupLayout.java From hawkbit with Eclipse Public License 1.0 | 5 votes |
private void buildLayout() { final HorizontalLayout headerLayout = new HorizontalLayout(); headerLayout.addStyleName(SPUIStyleDefinitions.WIDGET_TITLE); headerLayout.setSpacing(false); headerLayout.setMargin(false); headerLayout.setSizeFull(); headerLayout.addComponent(headerCaption); if (hasCreatePermission()) { headerLayout.addComponents(addIcon); headerLayout.setComponentAlignment(addIcon, Alignment.MIDDLE_RIGHT); } headerLayout.setExpandRatio(headerCaption, 1.0F); final HorizontalLayout headerWrapperLayout = new HorizontalLayout(); headerWrapperLayout.addStyleName("bordered-layout" + " " + "no-border-bottom" + " " + "metadata-table-margin"); headerWrapperLayout.addComponent(headerLayout); headerWrapperLayout.setWidth("100%"); headerLayout.setHeight("30px"); final VerticalLayout tableLayout = new VerticalLayout(); tableLayout.setSizeFull(); tableLayout.setHeight("100%"); tableLayout.addComponent(headerWrapperLayout); tableLayout.addComponent(metaDataGrid); tableLayout.addStyleName("table-layout"); tableLayout.setExpandRatio(metaDataGrid, 1.0F); final VerticalLayout metadataFieldsLayout = createMetadataFieldsLayout(); mainLayout = new HorizontalLayout(); mainLayout.addComponent(tableLayout); mainLayout.addComponent(metadataFieldsLayout); mainLayout.setExpandRatio(tableLayout, 0.5F); mainLayout.setExpandRatio(metadataFieldsLayout, 0.5F); mainLayout.setSizeFull(); mainLayout.setSpacing(true); setCompositionRoot(mainLayout); setSizeFull(); }
Example 10
Source File: LoadBalancerDesc.java From primecloud-controller with GNU General Public License v2.0 | 5 votes |
@Override public void attach() { setWidth("100%"); setHeight("100%"); setCaption(ViewProperties.getCaption("panel.loadBalancerDesc")); addStyleName("loadbalancer-desc-panel"); addStyleName(Reindeer.PANEL_LIGHT); VerticalLayout layout = (VerticalLayout) getContent(); layout.setWidth("100%"); layout.setHeight("100%"); layout.setMargin(false); layout.setSpacing(false); layout.addStyleName("loadbalancer-desc-layout"); tab = new TabSheet(); tab.addStyleName(Reindeer.TABSHEET_BORDERLESS); tab.setWidth("100%"); tab.setHeight("100%"); addComponent(tab); // 基本情報 loadBalancerDescBasic = new LoadBalancerDescBasic(sender); tab.addTab(loadBalancerDescBasic, ViewProperties.getCaption("tab.loadBalancerDescBasic"), Icons.BASIC.resource()); // 詳細情報 loadBalancerDescServer = new LoadBalancerDescServer(sender); tab.addTab(loadBalancerDescServer, ViewProperties.getCaption("tab.loadBalancerDescServer"), Icons.DETAIL.resource()); tab.addListener(TabSheet.SelectedTabChangeEvent.class, this, "selectedTabChange"); }
Example 11
Source File: ServerDesc.java From primecloud-controller with GNU General Public License v2.0 | 5 votes |
@Override public void attach() { setWidth("100%"); setHeight("100%"); setCaption(ViewProperties.getCaption("panel.serverDesc")); addStyleName(Reindeer.PANEL_LIGHT); addStyleName("server-desc-panel"); VerticalLayout layout = (VerticalLayout) getContent(); layout.setWidth("100%"); layout.setHeight("100%"); layout.setMargin(false); layout.setSpacing(false); layout.addStyleName("server-desc-layout"); tab = new TabSheet(); tab.addStyleName(Reindeer.TABSHEET_BORDERLESS); tab.setWidth("100%"); tab.setHeight("100%"); addComponent(tab); // 基本情報タブ serverDescBasic = new ServerDescBasic(sender); tab.addTab(serverDescBasic, ViewProperties.getCaption("tab.serverDescBasic"), Icons.BASIC.resource()); // 詳細情報タブ serverDescDetail = new ServerDescDetail(); tab.addTab(serverDescDetail, ViewProperties.getCaption("tab.serverDescDetail"), Icons.DETAIL.resource()); tab.addListener(new SelectedTabChangeListener() { @Override public void selectedTabChange(SelectedTabChangeEvent event) { ServerDesc.this.selectedTabChange(event); } }); }
Example 12
Source File: ServerDescDetail.java From primecloud-controller with GNU General Public License v2.0 | 5 votes |
@Override public void attach() { setHeight("100%"); addStyleName(Reindeer.PANEL_LIGHT); VerticalLayout panel = (VerticalLayout) getContent(); panel.setWidth("100%"); panel.setHeight("100%"); panel.setMargin(true); panel.setSpacing(false); panel.addStyleName("server-desc-detail"); HorizontalLayout layout = new HorizontalLayout(); layout.setWidth("100%"); layout.setHeight("100%"); layout.setMargin(true); layout.setSpacing(true); layout.addStyleName("server-desc-detail"); left = new DetailInfo(); left.setWidth("200px"); layout.addComponent(left); right = new DetailParameters(); right.setWidth("100%"); right.setHeight("100%"); layout.addComponent(right); layout.setExpandRatio(right, 100); panel.addComponent(layout); panel.setExpandRatio(layout, 1.0f); }
Example 13
Source File: LoginView.java From gazpachoquest with GNU General Public License v3.0 | 4 votes |
protected CssLayout createCompositionRoot() { CssLayout root = new CssLayout(); root.setSizeFull(); root.addStyleName(Reindeer.LAYOUT_BLUE); VerticalLayout loginLayout = new VerticalLayout(); loginLayout.setSizeFull(); loginLayout.addStyleName("login-layout"); root.addComponent(loginLayout); final CssLayout loginPanel = new CssLayout(); loginPanel.addStyleName("login-panel"); loginLayout.addComponent(loginPanel); HorizontalLayout labels = new HorizontalLayout(); labels.setWidth("100%"); labels.setMargin(true); labels.addStyleName("labels"); loginPanel.addComponent(labels); Label welcome = new Label("Welcome"); welcome.setSizeUndefined(); welcome.addStyleName(Reindeer.LABEL_H2); labels.addComponent(welcome); labels.setComponentAlignment(welcome, Alignment.MIDDLE_LEFT); Label title = new Label("Gazpacho Quest"); title.setSizeUndefined(); title.addStyleName(Reindeer.LABEL_H1); labels.addComponent(title); labels.setComponentAlignment(title, Alignment.MIDDLE_RIGHT); HorizontalLayout fields = new HorizontalLayout(); fields.setWidth("100%"); fields.setSpacing(true); fields.setMargin(true); fields.addStyleName("fields"); invitation = new TextField("Invitation"); invitation.setSizeUndefined(); invitation.focus(); // invitation.setValue("YAS5ICHRBE"); fields.addComponent(invitation); login = new Button("Start"); login.addClickListener(createLoginButtonListener()); fields.addComponent(login); fields.setComponentAlignment(login, Alignment.BOTTOM_LEFT); loginPanel.addComponent(fields); return root; }
Example 14
Source File: LoadBalancerPanel.java From primecloud-controller with GNU General Public License v2.0 | 4 votes |
@Override public void attach() { setSizeFull(); addStyleName(Reindeer.PANEL_LIGHT); VerticalLayout layout = (VerticalLayout) getContent(); layout.setSizeFull(); layout.addStyleName("loadbalancer-tab"); layout.setSpacing(false); layout.setMargin(false); // スプリットパネル SplitPanel splitPanel = new SplitPanel(); splitPanel.setOrientation(SplitPanel.ORIENTATION_VERTICAL); splitPanel.setSplitPosition(40); splitPanel.setSizeFull(); layout.addComponent(splitPanel); // スプリットパネル上段 VerticalLayout upperLayout = new VerticalLayout(); upperLayout.setSizeFull(); upperLayout.setSpacing(false); upperLayout.setMargin(false); CssLayout upperTopLayout = new CssLayout(); Label label = new Label(ViewProperties.getCaption("label.loadbalancer")); upperTopLayout.setWidth("100%"); upperTopLayout.setMargin(true); upperTopLayout.addStyleName("loadbalancer-table-label"); upperTopLayout.addComponent(label); upperTopLayout.setHeight("28px"); upperLayout.addComponent(upperTopLayout); loadBalancerTable = new LoadBalancerTable(sender); loadBalancerTable.setContainerDataSource(new LoadBalancerDtoContainer()); upperLayout.addComponent(loadBalancerTable); loadBalancerTable.addListener(new ValueChangeListener() { @Override public void valueChange(ValueChangeEvent event) { tableRowSelected(event); } }); loadBalancerButtonsBottom = new LoadBalancerButtonsBottom(sender); upperLayout.addComponent(loadBalancerButtonsBottom); upperLayout.setExpandRatio(loadBalancerTable, 10); splitPanel.addComponent(upperLayout); // スプリットパネル下段 loadBalancerDesc = new LoadBalancerDesc(sender); splitPanel.addComponent(loadBalancerDesc); }
Example 15
Source File: LoadBalancerDescServer.java From primecloud-controller with GNU General Public License v2.0 | 4 votes |
@Override public void attach() { addStyleName(Reindeer.PANEL_LIGHT); setHeight("100%"); VerticalLayout panel = (VerticalLayout) getContent(); panel.setWidth("100%"); panel.setHeight("100%"); panel.setMargin(true); panel.setSpacing(false); panel.addStyleName("loadbalancer-desc-basic"); HorizontalLayout layout = new HorizontalLayout(); layout.setWidth("100%"); layout.setHeight("100%"); layout.setMargin(true); layout.setSpacing(true); layout.addStyleName("loadbalancer-desc-basic"); // ロードバランサ詳細情報 VerticalLayout leftLayout = new VerticalLayout(); leftLayout.setWidth("100%"); leftLayout.setHeight("100%"); leftLayout.setMargin(true, false, false, false); leftLayout.setSpacing(false); loadBalancerInfo = new LoadBalancerDetailInfo(); leftLayout.addComponent(loadBalancerInfo); leftLayout.setExpandRatio(loadBalancerInfo, 10); layout.addComponent(leftLayout); // 表同士の間隔をあける Label padding = new Label(" "); padding.setWidth("7px"); padding.setHeight("99%"); padding.addStyleName("desc-padding"); layout.addComponent(padding); Label padding2 = new Label(""); padding2.setWidth("1px"); layout.addComponent(padding2); // 割り当てサーバ VerticalLayout rightLayout = new VerticalLayout(); rightLayout.setWidth("100%"); rightLayout.setHeight("100%"); rightLayout.setMargin(false); rightLayout.setSpacing(false); rightLayout.addStyleName("loadbalancer-desc-server-right"); attachServiceServerTable = new AttachSeriviceServerTable(); rightLayout.addComponent(attachServiceServerTable); loadBalancerOpe = new LoadbalancerServerOperation(); rightLayout.addComponent(loadBalancerOpe); rightLayout.setExpandRatio(attachServiceServerTable, 100); layout.addComponent(rightLayout); layout.setExpandRatio(leftLayout, 48); layout.setExpandRatio(rightLayout, 52); panel.addComponent(layout); }
Example 16
Source File: ServicePanel.java From primecloud-controller with GNU General Public License v2.0 | 4 votes |
@Override public void attach() { setSizeFull(); addStyleName(Reindeer.PANEL_LIGHT); VerticalLayout layout = (VerticalLayout) getContent(); layout.setSizeFull(); layout.addStyleName("service-tab"); layout.setSpacing(false); layout.setMargin(false); // スプリットパネル SplitPanel splitPanel = new SplitPanel(); splitPanel.setOrientation(SplitPanel.ORIENTATION_VERTICAL); splitPanel.setSplitPosition(40); splitPanel.setSizeFull(); layout.addComponent(splitPanel); layout.setExpandRatio(splitPanel, 10); // スプリットパネル上段 VerticalLayout upperLayout = new VerticalLayout(); upperLayout.setSizeFull(); upperLayout.setSpacing(false); upperLayout.setMargin(false); serviceButtonsTop = new ServiceButtonsTop(sender); upperLayout.addComponent(serviceButtonsTop); serviceTable = new ServiceTable(sender); serviceTable.setContainerDataSource(new ComponentDtoContainer()); upperLayout.addComponent(serviceTable); serviceTable.addListener(new ValueChangeListener() { @Override public void valueChange(ValueChangeEvent event) { tableRowSelected(event); } }); serviceButtonsBottom = new ServiceButtonsBottom(sender); upperLayout.addComponent(serviceButtonsBottom); upperLayout.setExpandRatio(serviceTable, 10); splitPanel.addComponent(upperLayout); // スプリットパネル下段 serviceDesc = new ServiceDesc(sender); splitPanel.addComponent(serviceDesc); }
Example 17
Source File: ServerPanel.java From primecloud-controller with GNU General Public License v2.0 | 4 votes |
@Override public void attach() { setSizeFull(); addStyleName(Reindeer.PANEL_LIGHT); VerticalLayout layout = (VerticalLayout) getContent(); layout.setSizeFull(); layout.addStyleName("server-tab"); layout.setSpacing(false); layout.setMargin(false); // スプリットパネル SplitPanel splitPanel = new SplitPanel(); splitPanel.setOrientation(SplitPanel.ORIENTATION_VERTICAL); splitPanel.setSplitPosition(40); splitPanel.setSizeFull(); layout.addComponent(splitPanel); // スプリットパネル上段 VerticalLayout upperLayout = new VerticalLayout(); upperLayout.setSizeFull(); upperLayout.setSpacing(false); upperLayout.setMargin(false); serverButtonsTop = new ServerButtonsTop(sender); upperLayout.addComponent(serverButtonsTop); serverTable = new ServerTable(sender); serverTable.setContainerDataSource(new InstanceDtoContainer()); upperLayout.addComponent(serverTable); serverTable.addListener(new ValueChangeListener() { @Override public void valueChange(ValueChangeEvent event) { tableRowSelected(event); } }); serverButtonsBottom = new ServerButtonsBottom(sender); upperLayout.addComponent(serverButtonsBottom); upperLayout.setExpandRatio(serverTable, 10); splitPanel.addComponent(upperLayout); // スプリットパネル下段 serverDesc = new ServerDesc(sender); splitPanel.addComponent(serverDesc); }
Example 18
Source File: ServerDescBasic.java From primecloud-controller with GNU General Public License v2.0 | 4 votes |
@Override public void attach() { setHeight("100%"); addStyleName(Reindeer.PANEL_LIGHT); VerticalLayout layout = (VerticalLayout) getContent(); layout.setWidth("100%"); layout.setHeight("100%"); layout.setMargin(true); layout.setSpacing(false); layout.addStyleName("server-desc-basic"); HorizontalLayout layout2 = new HorizontalLayout(); layout2.setWidth("100%"); layout2.setHeight("100%"); layout2.setMargin(true); layout2.setSpacing(true); layout2.addStyleName("server-desc-basic"); // サーバ基本情報 left = new BasicInfo(); left.setWidth("100%"); layout2.addComponent(left); // 表同士の間隔をあける Label padding = new Label(" "); padding.setWidth("7px"); padding.setHeight("99%"); padding.addStyleName("desc-padding"); layout2.addComponent(padding); Label padding2 = new Label(""); padding2.setWidth("1px"); layout2.addComponent(padding2); // 割り当てサービス String enableService = Config.getProperty("ui.enableService"); if (enableService == null || BooleanUtils.toBoolean(enableService)) { right = new AttachService(); right.setHeight("100%"); right.setWidth("100%"); layout2.addComponent(right); } layout2.setExpandRatio(left, 40); if (right != null) { layout2.setExpandRatio(right, 60); } else { VerticalLayout dummyLayout = new VerticalLayout(); dummyLayout.setSizeFull(); layout2.addComponent(dummyLayout); layout2.setExpandRatio(dummyLayout, 60); } layout.addComponent(layout2); layout.setExpandRatio(layout2, 1.0f); }
Example 19
Source File: AbstractTableDetailsLayout.java From hawkbit with Eclipse Public License 1.0 | 4 votes |
protected final VerticalLayout createTabLayout() { final VerticalLayout tabLayout = SPUIComponentProvider.getDetailTabLayout(); tabLayout.addStyleName("details-layout"); return tabLayout; }
Example 20
Source File: DashboardMenu.java From hawkbit with Eclipse Public License 1.0 | 4 votes |
private VerticalLayout buildLinksAndVersion() { final VerticalLayout links = new VerticalLayout(); links.setSpacing(true); links.addStyleName("links"); final String linkStyle = "v-link"; if (!uiProperties.getLinks().getDocumentation().getRoot().isEmpty()) { final Link docuLink = SPUIComponentProvider.getLink(UIComponentIdProvider.LINK_DOCUMENTATION, i18n.getMessage("link.documentation.name"), uiProperties.getLinks().getDocumentation().getRoot(), FontAwesome.QUESTION_CIRCLE, "_blank", linkStyle); docuLink.setSizeFull(); links.addComponent(docuLink); links.setComponentAlignment(docuLink, Alignment.BOTTOM_CENTER); } if (!uiProperties.getLinks().getUserManagement().isEmpty()) { final Link userManagementLink = SPUIComponentProvider.getLink(UIComponentIdProvider.LINK_USERMANAGEMENT, i18n.getMessage("link.usermanagement.name"), uiProperties.getLinks().getUserManagement(), FontAwesome.USERS, "_blank", linkStyle); links.addComponent(userManagementLink); userManagementLink.setSizeFull(); links.setComponentAlignment(userManagementLink, Alignment.BOTTOM_CENTER); } if (!uiProperties.getLinks().getSupport().isEmpty()) { final Link supportLink = SPUIComponentProvider.getLink(UIComponentIdProvider.LINK_SUPPORT, i18n.getMessage("link.support.name"), uiProperties.getLinks().getSupport(), FontAwesome.ENVELOPE_O, "", linkStyle); supportLink.setSizeFull(); links.addComponent(supportLink); links.setComponentAlignment(supportLink, Alignment.BOTTOM_CENTER); } final Component buildVersionInfo = buildVersionInfo(); links.addComponent(buildVersionInfo); links.setComponentAlignment(buildVersionInfo, Alignment.BOTTOM_CENTER); links.setSizeFull(); links.setHeightUndefined(); return links; }