Browse Source

Merge pull request #64 in BA/design from ~VITO/design:store_bug to release

* commit '4ac186aff5d16546883472ccc9961750196c1757':
  1、适配win以消除滚动条 2、添加标题
master
richie 9 years ago
parent
commit
f6d299558b
  1. 4
      designer_base/src/com/fr/design/extra/PluginShopDialog.java

4
designer_base/src/com/fr/design/extra/PluginShopDialog.java

@ -3,6 +3,7 @@ package com.fr.design.extra;
import com.fr.design.dialog.BasicPane; import com.fr.design.dialog.BasicPane;
import com.fr.design.dialog.UIDialog; import com.fr.design.dialog.UIDialog;
import com.fr.design.utils.gui.GUICoreUtils; import com.fr.design.utils.gui.GUICoreUtils;
import com.fr.general.Inter;
import java.awt.*; import java.awt.*;
@ -10,13 +11,14 @@ import java.awt.*;
* Created by vito on 16/4/18. * Created by vito on 16/4/18.
*/ */
public class PluginShopDialog extends UIDialog { public class PluginShopDialog extends UIDialog {
private static final Dimension DEFAULT_SHOP = new Dimension(900, 690); private static final Dimension DEFAULT_SHOP = new Dimension(900, 684);
public PluginShopDialog(Frame frame, BasicPane pane) { public PluginShopDialog(Frame frame, BasicPane pane) {
super(frame, pane, false); super(frame, pane, false);
setSize(DEFAULT_SHOP); setSize(DEFAULT_SHOP);
GUICoreUtils.centerWindow(this); GUICoreUtils.centerWindow(this);
setResizable(false); setResizable(false);
setTitle(Inter.getLocText("FR-Designer-Plugin_Manager"));
} }
@Override @Override

Loading…
Cancel
Save