|
|
@ -2,7 +2,6 @@ package com.fr.design.mainframe.mobile.ui; |
|
|
|
|
|
|
|
|
|
|
|
import com.fr.base.BaseUtils; |
|
|
|
import com.fr.base.BaseUtils; |
|
|
|
import com.fr.design.constants.LayoutConstants; |
|
|
|
import com.fr.design.constants.LayoutConstants; |
|
|
|
import com.fr.design.gui.ibutton.UIColorButton; |
|
|
|
|
|
|
|
import com.fr.design.gui.ibutton.UIToggleButton; |
|
|
|
import com.fr.design.gui.ibutton.UIToggleButton; |
|
|
|
import com.fr.design.gui.icombobox.UIComboBox; |
|
|
|
import com.fr.design.gui.icombobox.UIComboBox; |
|
|
|
import com.fr.design.i18n.Toolkit; |
|
|
|
import com.fr.design.i18n.Toolkit; |
|
|
@ -10,11 +9,16 @@ import com.fr.design.utils.gui.GUICoreUtils; |
|
|
|
import com.fr.general.FRFont; |
|
|
|
import com.fr.general.FRFont; |
|
|
|
import com.fr.stable.Constants; |
|
|
|
import com.fr.stable.Constants; |
|
|
|
|
|
|
|
|
|
|
|
import javax.swing.*; |
|
|
|
import javax.swing.JPanel; |
|
|
|
import java.awt.*; |
|
|
|
import java.awt.BorderLayout; |
|
|
|
|
|
|
|
import java.awt.Color; |
|
|
|
|
|
|
|
import java.awt.Component; |
|
|
|
|
|
|
|
import java.awt.Dimension; |
|
|
|
|
|
|
|
import java.awt.FlowLayout; |
|
|
|
|
|
|
|
import java.awt.Font; |
|
|
|
import java.util.Vector; |
|
|
|
import java.util.Vector; |
|
|
|
|
|
|
|
|
|
|
|
public class MobileStyleFontConfigPane extends JPanel { |
|
|
|
public class MobileStyleFontConfigPane extends JPanel { |
|
|
|
private static final int MAX_FONT_SIZE = 18; |
|
|
|
private static final int MAX_FONT_SIZE = 18; |
|
|
|
private static final int MIN_FONT_SIZE = 12; |
|
|
|
private static final int MIN_FONT_SIZE = 12; |
|
|
|
private static final Dimension BUTTON_SIZE = new Dimension(20, 18); |
|
|
|
private static final Dimension BUTTON_SIZE = new Dimension(20, 18); |
|
|
|