Skip to content

Commit

Permalink
Removed pref height and width computation for CalendarViewSkin.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemmermann committed Aug 30, 2022
1 parent 51abaa2 commit 7c96cf0
Showing 1 changed file with 0 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -531,22 +531,4 @@ private void print() {

});
}

// @Override
// protected double computePrefHeight(double width, double topInset, double rightInset, double bottomInset, double leftInset) {
// double dayHeight = dayPage.prefHeight(-1);
// double weekHeight = weekPage.prefHeight(-1);
// double monthHeight = monthPage.prefHeight(-1);
// double yearHeight = yearPage.prefHeight(-1);
// return Math.max(dayHeight, Math.max(weekHeight, Math.max(monthHeight, yearHeight)));
// }
//
// @Override
// protected double computePrefWidth(double width, double topInset, double rightInset, double bottomInset, double leftInset) {
// double dayWidth = dayPage.prefWidth(-1);
// double weekWidth = weekPage.prefWidth(-1);
// double monthWidth = monthPage.prefWidth(-1);
// double yearWidth = yearPage.prefWidth(-1);
// return Math.max(dayWidth, Math.max(weekWidth, Math.max(monthWidth, yearWidth)));
// }
}

0 comments on commit 7c96cf0

Please sign in to comment.