layoutPreferredSize property

int? layoutPreferredSize
final

Preferred size of the legend component. Defaults to 0.

If the legend is positioned in the top or bottom margin, then this configures the legend's height. If positioned in the start or end position, this configures the legend's width.

Implementation

final int? layoutPreferredSize;