Font sizes don't follow global zoom factor
Put the old constants back in as deprecated for compatibility reasons.
@@ -207,6 +207,21 @@ public class Const {
/** Specifies the length (width) of fields in a number of pixels in dialog boxes. */
public static final int LENGTH = 350;
+ /** The margin between the different dialog components & widgets.
+ * This method is deprecated. Please use PropsUi.getMargin() instead. */
+ @Deprecated
+ public static final int MARGIN = 4;
+
+ /** The default percentage of the width of screen where we consider the middle of a dialog.
+ * This method is deprecated. Please use PropsUi.getMiddlePct() instead.*/
+ @Deprecated
+ public static final int MIDDLE_PCT = 35;
+
+ /** The horizontal and vertical margin of a dialog box.
+ * This method is deprecated. Please use PropsUi.getFormMargin() instead.*/
+ @Deprecated
+ public static final int FORM_MARGIN = 5;
+
/** The default locale for the hop environment (system defined) */
public static final Locale DEFAULT_LOCALE = Locale.getDefault();
