Browse Source

Merge pull request #658 in BA/design from ~LEE/design_release:release to release

* commit '001aab092b24f24154103d2b6d54e5ccc53f9c4a':
  1
master
superman 8 years ago
parent
commit
5c7a0b5130
  1. 2
      designer_form/src/com/fr/design/designer/creator/cardlayout/XCardSwitchButton.java

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

@ -395,9 +395,9 @@ public class XCardSwitchButton extends XButton {
this.tagLayout.getComponent(i).setBounds(rectangle);
Dimension dimension = new Dimension();
dimension.setSize(cardWidth, cardHeight);
XCardSwitchButton temp = (XCardSwitchButton) this.tagLayout.getComponent(i);
CardSwitchButton cardSwitchButton = (CardSwitchButton) temp.toData();
FRFont frFont = cardSwitchButton.getFont();
XCardSwitchButton temp = (XCardSwitchButton) this.tagLayout.getComponent(i);
UILabel label = temp.getContentLabel();
label.setSize(dimension);
label.setFont(frFont.applyResolutionNP(ScreenResolution.getScreenResolution()));

Loading…
Cancel
Save