2

在我的 Netbeans 7.11 应用程序中,我在编辑器模式下有一个额外的单独顶部组件,它不遵守我使用 GUI-builder 指定的最小大小。

选中品牌的“窗口系统”选项卡中的“调整窗口大小时尊重最小大小”选项。

我的 .wsmode 文件如下所示:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mode PUBLIC
        "-//NetBeans//DTD Mode Properties 2.0//EN"
       "http://www.netbeans.org/dtds/mode-properties2_0.dtd">
<mode version="2.0">
    <name unique="myTopComponent" />
    <kind type="view" />
    <state type="separated" />
    <constraints>
        <path orientation="horizontal" number="0" weight="1" />
        <path orientation="vertical" number="0" weight="1" />
    </constraints>
    <bounds x="150" y="150" width="1200" height="670" />
    <frame state="0"/>
    <empty-behavior permanent="true" />
</mode>

我做错了什么或我错过了什么?

4

0 回答 0