mirror of
https://gitlab.kit.edu/uskyk/typicalc.git
synced 2024-11-09 19:00:48 +00:00
Set height and accordion width
This commit is contained in:
parent
0bb88280b8
commit
38c3a61882
@ -2,6 +2,7 @@
|
||||
width: 1000px !important;
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
height: 500px;
|
||||
}
|
||||
|
||||
#headingLayout {
|
||||
@ -17,6 +18,10 @@
|
||||
right: 0;
|
||||
}
|
||||
|
||||
#accordion {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.help-field {
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
@ -31,6 +31,7 @@ public class HelpDialog extends Dialog implements LocaleChangeObserver {
|
||||
private static final String HEADING_LAYOUT_ID = "headingLayout";
|
||||
private static final String CONTENT_LAYOUT_ID = "contentLayout";
|
||||
private static final String LANGUAGE_SELECT_ID = "languageSelect";
|
||||
private static final String ACCORDION_ID = "accordion";
|
||||
|
||||
private final H3 heading;
|
||||
private final Select<Locale> languageSelect;
|
||||
@ -53,6 +54,7 @@ public class HelpDialog extends Dialog implements LocaleChangeObserver {
|
||||
|
||||
VerticalLayout contentLayout = new VerticalLayout();
|
||||
Accordion content = createHelpContent();
|
||||
content.setId(ACCORDION_ID);
|
||||
contentLayout.add(content);
|
||||
contentLayout.setId(CONTENT_LAYOUT_ID);
|
||||
add(headingLayout, contentLayout);
|
||||
|
Loading…
Reference in New Issue
Block a user