maxHeight didn't account for the last label
https://github.com/danielgindi/Charts/pull/3900
This commit is contained in:
parent
45240c3723
commit
34fefd28e1
1 changed files with 1 additions and 2 deletions
|
@ -703,8 +703,7 @@ public class Legend extends ComponentBase {
|
|||
|
||||
width += Utils.calcTextWidth(labelpaint, label);
|
||||
|
||||
if (i < entryCount - 1)
|
||||
maxHeight += labelLineHeight + yEntrySpace;
|
||||
maxHeight += labelLineHeight + yEntrySpace;
|
||||
} else {
|
||||
wasStacked = true;
|
||||
width += formSize;
|
||||
|
|
Loading…
Add table
Reference in a new issue