325326327328329330331332333334335
buttonLayout.addComponentAsFirst(new Label() {{ setWidth(100, Sizeable.UNITS_PERCENTAGE); }}); buttonLayout.recalculateExpandRatios(); return buttonLayout; } public List<Component> getToolbarButtons() {
96979899100101102103104105106
toolbar.addComponent(comp); } toolbar.addComponent(backButton); toolbar.setComponentAlignment(titleLabel, Alignment.MIDDLE_LEFT); toolbar.recalculateExpandRatios(); return toolbar; } private void saveAndCloseAction(boolean save) {