@ -46,12 +46,12 @@ public class WidgetBoundsPaneFactory {
private static final int RIGHT_PANE_WIDTH = 145 ;
private static final int RIGHT_PANE_WIDTH = 145 ;
public static UIExpandablePane createBoundsPane ( UISpinner width , UISpinner height , JComponent ratioLocked ) {
public static UIExpandablePane createBoundsPane ( UISpinner width , UISpinner height , JComponent ratioLocked , NameAttribute nameAttribute ) {
JPanel boundsPane = FRGUIPaneFactory . createBorderLayout_S_Pane ( ) ;
JPanel boundsPane = FRGUIPaneFactory . createBorderLayout_S_Pane ( ) ;
double f = TableLayout . FILL ;
double f = TableLayout . FILL ;
double p = TableLayout . PREFERRED ;
double p = TableLayout . PREFERRED ;
Component [ ] [ ] components = new Component [ ] [ ] {
Component [ ] [ ] components = new Component [ ] [ ] {
new Component [ ] { FRWidgetFactory . createLineWrapLabel ( Toolkit . i18nText ( "Fine-Design_Basic_Component_Size" ) ) ,
new Component [ ] { FRWidgetFactory . createLineWrapLabel ( nameAttribute . getSizeName ( ) ) ,
ratioLocked ! = null ? createRightPane ( width , ratioLocked , height ) : createRightPane ( width , height ) } ,
ratioLocked ! = null ? createRightPane ( width , ratioLocked , height ) : createRightPane ( width , height ) } ,
new Component [ ] { null , createRightPane ( new UILabel ( Toolkit . i18nText ( "Fine-Design_Basic_Tree_Width" ) , SwingConstants . CENTER ) , new UILabel ( Toolkit . i18nText ( "Fine-Design_Basic_Tree_Height" ) , SwingConstants . CENTER ) ) } ,
new Component [ ] { null , createRightPane ( new UILabel ( Toolkit . i18nText ( "Fine-Design_Basic_Tree_Width" ) , SwingConstants . CENTER ) , new UILabel ( Toolkit . i18nText ( "Fine-Design_Basic_Tree_Height" ) , SwingConstants . CENTER ) ) } ,
} ;
} ;
@ -65,7 +65,7 @@ public class WidgetBoundsPaneFactory {
}
}
public static UIExpandablePane createBoundsPane ( UISpinner width , UISpinner height ) {
public static UIExpandablePane createBoundsPane ( UISpinner width , UISpinner height ) {
return createBoundsPane ( width , height , null ) ;
return createBoundsPane ( width , height , null , NameAttribute . DEFAULT ) ;
}
}
public static JPanel createRightPane ( Component com1 , Component com2 ) {
public static JPanel createRightPane ( Component com1 , Component com2 ) {