Browse Source

调整格式

master
PanLi320 8 years ago
parent
commit
36624f09ce
  1. 9
      designer_form/src/com/fr/design/designer/creator/cardlayout/XCardSwitchButton.java

9
designer_form/src/com/fr/design/designer/creator/cardlayout/XCardSwitchButton.java

@ -42,14 +42,14 @@ import com.fr.general.Inter;
*/
public class XCardSwitchButton extends XButton {
private XWCardLayout cardLayout;
private XWCardTagLayout tagLayout;
private static final int LEFT_GAP = 16;
private static Icon MOUSE_COLSE = BaseUtils.readIcon("/com/fr/design/images/buttonicon/close_icon.png");
//设置的图片类型
private static final String COLORBACKGROUNDTYPE = "ColorBackground";
private static final String DEFAULTTYPE = "default";
//默认颜色
public static final Color NORMAL_GRAL = new Color(236,236,236);
public static final Color CHOOSED_GRAL = new Color(222,222,222);
@ -62,6 +62,9 @@ public class XCardSwitchButton extends XButton {
// tab按钮里的字体因为按钮内部的布局看起来比正常的要小,加个调整量
private static final int FONT_SIZE_ADJUST = 2;
private XWCardLayout cardLayout;
private XWCardTagLayout tagLayout;
private Background selectBackground;
private boolean isCustomStyle;

Loading…
Cancel
Save