mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-17 01:31:01 +00:00
proposal for bug2515: chart width remains unchanged; height always consumes available vertical window space
This commit is contained in:
1 parent
143ae6aeee
commit
79e27fad8a
1 file changed
+4
-2
+4
-2
@@ -246,7 +246,9 @@ public abstract class AbstractCompetitorLeaderboardChart<SettingsType> extends A
|
||||
break;
|
||||
}
|
||||
|
||||
chart.setSizeToMatchContainer();
|
||||
// TODO will removing the following line do harm on any usage of this abstract base class?
|
||||
// chart.setSizeToMatchContainer();
|
||||
|
||||
// it's important here to recall the redraw method, otherwise the bug fix for wrong checkbox
|
||||
// positions (nativeAdjustCheckboxPosition)
|
||||
// in the BaseChart class would not be called
|
||||
@@ -301,7 +303,7 @@ public abstract class AbstractCompetitorLeaderboardChart<SettingsType> extends A
|
||||
}
|
||||
|
||||
private void setHeight() {
|
||||
chart.setHeight(Window.getClientHeight());
|
||||
chart.setSize(chart.getOffsetWidth(), Window.getClientHeight());
|
||||
}
|
||||
|
||||
private void fillTotalPointsSeries(
|
||||
|
||||
Reference in new issue
Block a user