2

私の Netbeans 7.11 アプリケーションでは、GUI ビルダーを使用して指定した最小サイズを尊重しないエディター モードで、分離された追加の topcomponent があります。

ブランディングの [ウィンドウ システム] タブにある [ウィンドウのサイズ変更時に最小サイズを尊重する] オプションがオンになっています。

私の .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