|
|
|
@ -141,8 +141,8 @@ public class FormMultiWidgetCardPane extends FormWidgetCardPane {
|
|
|
|
|
TableLayout.PREFERRED, |
|
|
|
|
TableLayout.FILL |
|
|
|
|
}; |
|
|
|
|
UITextField horizontalSpacingNumberField = createIntNumberField(false); |
|
|
|
|
UITextField verticalSpacingNumberField = createIntNumberField(true); |
|
|
|
|
UITextField horizontalSpacingNumberField = createIntNumberField(false, Toolkit.i18nText("Fine-Design_Multi_Selection_Manual_Horizontal_Spacing_Tip")); |
|
|
|
|
UITextField verticalSpacingNumberField = createIntNumberField(true, Toolkit.i18nText("Fine-Design_Multi_Selection_Manual_Vertical_Spacing_Tip")); |
|
|
|
|
Component[][] components = new Component[][] { |
|
|
|
|
new Component[] { |
|
|
|
|
new UILabel(IOUtils.readIcon("/com/fr/design/images/buttonicon/multi_selection_horizontal_spacing.png")), |
|
|
|
@ -157,8 +157,9 @@ public class FormMultiWidgetCardPane extends FormWidgetCardPane {
|
|
|
|
|
return createTitleLayout(Toolkit.i18nText("Fine-Design_Multi_Selection_Manual_Spacing"), centerPane); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private UINumberField createIntNumberField(boolean isVertical) { |
|
|
|
|
private UINumberField createIntNumberField(boolean isVertical, String tipText) { |
|
|
|
|
final UINumberField numberField = new UINumberField(); |
|
|
|
|
numberField.setPlaceholder(tipText); |
|
|
|
|
numberField.addFocusListener(new FocusAdapter() { |
|
|
|
|
@Override |
|
|
|
|
public void focusLost(FocusEvent e) { |
|
|
|
|