Fix Tutorial Panel height on Firefox

Firefox requires that the <div> that includes the Tutorial Panel has its
height set to 100%, otherwise it displays it with a height of 150px (per
the CSS standard).

Change-Id: Id7afd34f4aa058dd5f7b4982d6409941d472d907
parent a41b262b
...@@ -1151,6 +1151,7 @@ public class Ode implements EntryPoint { ...@@ -1151,6 +1151,7 @@ public class Ode implements EntryPoint {
overDeckPanel.setWidth("100%"); overDeckPanel.setWidth("100%");
overDeckPanel.add(tutorialPanel); overDeckPanel.add(tutorialPanel);
overDeckPanel.setCellWidth(tutorialPanel, "0%"); overDeckPanel.setCellWidth(tutorialPanel, "0%");
overDeckPanel.setCellHeight(tutorialPanel, "100%");
overDeckPanel.add(deckPanel); overDeckPanel.add(deckPanel);
mainPanel.add(overDeckPanel, DockPanel.CENTER); mainPanel.add(overDeckPanel, DockPanel.CENTER);
mainPanel.setCellHeight(overDeckPanel, "100%"); mainPanel.setCellHeight(overDeckPanel, "100%");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment