|
|
|
@ -148,11 +148,12 @@ public class VanChartHtmlLabelPane extends JPanel{
|
|
|
|
|
double p = TableLayout.PREFERRED; |
|
|
|
|
double f = TableLayout.FILL; |
|
|
|
|
double[] columnSize = { p, f }; |
|
|
|
|
double[] rowSize = { p, p}; |
|
|
|
|
double[] rowSize = {p, p, p}; |
|
|
|
|
|
|
|
|
|
Component[][] components = new Component[][]{ |
|
|
|
|
new Component[]{isCustomWidth, customWidth}, |
|
|
|
|
new Component[]{isCustomHeight, customHeight}, |
|
|
|
|
new Component[] {null, null} |
|
|
|
|
}; |
|
|
|
|
return TableLayoutHelper.createTableLayoutPane(components, rowSize, columnSize); |
|
|
|
|
} |
|
|
|
|