mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-07 12:51:02 +00:00
Put titleLabel in a titleLabelWrapper
it´s important that the background image grows with the titleLabel text. To make that possible, the titleLabel needs a wrapper
This commit is contained in:
1 parent
8b66c7432a
commit
ab32b2d307
1 file changed
+5
-1
+5
-1
@@ -22,9 +22,13 @@ public class LogoAndTitlePanel extends FlowPanel {
|
||||
sailingAnalyticsLabel.addStyleName("sailingAnalyticsLabel boldLabel");
|
||||
this.add(labelPanel);
|
||||
|
||||
FlowPanel titleLabelWrapper = new FlowPanel();
|
||||
titleLabelWrapper.addStyleName("titleLabelWrapper");
|
||||
titleLabel = new Label(title);
|
||||
titleLabel.addStyleName("titleLabel");
|
||||
this.add(titleLabel);
|
||||
titleLabelWrapper.add(titleLabel);
|
||||
this.add(titleLabelWrapper);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user