mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-26 23:46:36 +00:00
Added Leaderboard Name to the LogoAndTitlePanel of the leaderboard
This commit is contained in:
@@ -169,3 +169,14 @@ body, table td, select, button {
|
||||
color: #7c7c7c;
|
||||
background: url(images/important-message.png) left center no-repeat;
|
||||
}
|
||||
|
||||
.LeaderboardHeader {
|
||||
position: relative;
|
||||
margin: 0 auto;
|
||||
width: 400px;
|
||||
text-align: center;
|
||||
font-family: 'UbuntuRegular', Arial, Verdana, sans-serif;
|
||||
font-size: 18px;
|
||||
color: #fff;
|
||||
margin-top: 22px;
|
||||
}
|
||||
+3
@@ -49,6 +49,9 @@ public class LeaderboardEntryPoint extends AbstractEntryPoint {
|
||||
private void createUI() {
|
||||
LogoAndTitlePanel logoAndTitlePanel = new LogoAndTitlePanel(stringMessages);
|
||||
logoAndTitlePanel.addStyleName("LogoAndTitlePanel");
|
||||
Label leaderboardHeaderLabel = new Label(leaderboardName);
|
||||
leaderboardHeaderLabel.addStyleName("LeaderboardHeader");
|
||||
logoAndTitlePanel.add(leaderboardHeaderLabel);
|
||||
|
||||
DockLayoutPanel mainPanel = new DockLayoutPanel(Unit.PX);
|
||||
RootLayoutPanel.get().add(mainPanel);
|
||||
|
||||
Reference in New Issue
Block a user