<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: control for size of Palette Set in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/control-for-size-of-palette-set/m-p/13821505#M85782</link>
    <description>&lt;P&gt;It should be obvious but in case it isn't, you have &lt;STRONG&gt;MinimumSize&lt;/STRONG&gt; and &lt;STRONG&gt;MaximumSize&lt;/STRONG&gt; set to explicit values. They should be reset because the control is supposed to fill its parent's client rectangle, which it will do automatically if you don't set those properties. Also, I don't understand why you have &lt;STRONG&gt;Padding&lt;/STRONG&gt; set. Lastly, the &lt;STRONG&gt;AutoSize&lt;/STRONG&gt; property is false, it should be true.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ActivistInvestor_0-1758603096763.png" style="width: 602px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1572956i3CE66E2B94717832/image-dimensions/602x290?v=v2" width="602" height="290" role="button" title="ActivistInvestor_0-1758603096763.png" alt="ActivistInvestor_0-1758603096763.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 23 Sep 2025 04:55:46 GMT</pubDate>
    <dc:creator>ActivistInvestor</dc:creator>
    <dc:date>2025-09-23T04:55:46Z</dc:date>
    <item>
      <title>control for size of Palette Set</title>
      <link>https://forums.autodesk.com/t5/net-forum/control-for-size-of-palette-set/m-p/13818867#M85768</link>
      <description>&lt;P&gt;i create new Palette Set&amp;nbsp;and use the blow codes to control the size in AutoCAD&amp;nbsp; but not pass if drag the pallet in AutoCAD there are gap&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;        _PaletteSet.Size = new Size(530, 680);
        _PaletteSet.Style = PaletteSetStyles.ShowAutoHideButton
              | PaletteSetStyles.ShowCloseButton
              | PaletteSetStyles.ShowPropertiesMenu | PaletteSetStyles.UsePaletteNameAsTitleForSingle
              | PaletteSetStyles.Snappable;
        _PaletteSet.DockEnabled = DockSides.Right | DockSides.Left;
        _PaletteSet.MinimumSize = new Size(530, 680);
        _PaletteSet.SetSize(new Size(530, 680));
        _PaletteSet.Visible = true;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PALLET.png" style="width: 714px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1572544i361CD49EAF6B6795/image-size/large?v=v2&amp;amp;px=999" role="button" title="PALLET.png" alt="PALLET.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 20 Sep 2025 13:50:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/control-for-size-of-palette-set/m-p/13818867#M85768</guid>
      <dc:creator>a_saber_mt</dc:creator>
      <dc:date>2025-09-20T13:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: control for size of Palette Set</title>
      <link>https://forums.autodesk.com/t5/net-forum/control-for-size-of-palette-set/m-p/13819815#M85769</link>
      <description>&lt;P&gt;It seems you have declared fixed height and width for the user control inside. User&amp;nbsp;d:DesignHeight and d:DesignWidth&lt;/P&gt;</description>
      <pubDate>Mon, 22 Sep 2025 00:55:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/control-for-size-of-palette-set/m-p/13819815#M85769</guid>
      <dc:creator>khodulieucuong</dc:creator>
      <dc:date>2025-09-22T00:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: control for size of Palette Set</title>
      <link>https://forums.autodesk.com/t5/net-forum/control-for-size-of-palette-set/m-p/13820674#M85772</link>
      <description>&lt;P&gt;Without seeing the properties that you are setting the UserControl to it's hard to guess what may be the issue, but you could also try setting the Visible property to true &lt;STRONG&gt;&lt;EM&gt;before&lt;/EM&gt; &lt;/STRONG&gt;you set the DockEnabled and MinimumSize properties and call SetSize().&lt;/P&gt;</description>
      <pubDate>Mon, 22 Sep 2025 13:35:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/control-for-size-of-palette-set/m-p/13820674#M85772</guid>
      <dc:creator>ActivistInvestor</dc:creator>
      <dc:date>2025-09-22T13:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: control for size of Palette Set</title>
      <link>https://forums.autodesk.com/t5/net-forum/control-for-size-of-palette-set/m-p/13821493#M85781</link>
      <description>&lt;P&gt;this the&amp;nbsp;&lt;SPAN&gt;properties of UserControl&amp;nbsp;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="p1.png" style="width: 767px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1572954i3F4644896C075665/image-size/large?v=v2&amp;amp;px=999" role="button" title="p1.png" alt="p1.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2025 04:36:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/control-for-size-of-palette-set/m-p/13821493#M85781</guid>
      <dc:creator>a_saber_mt</dc:creator>
      <dc:date>2025-09-23T04:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: control for size of Palette Set</title>
      <link>https://forums.autodesk.com/t5/net-forum/control-for-size-of-palette-set/m-p/13821505#M85782</link>
      <description>&lt;P&gt;It should be obvious but in case it isn't, you have &lt;STRONG&gt;MinimumSize&lt;/STRONG&gt; and &lt;STRONG&gt;MaximumSize&lt;/STRONG&gt; set to explicit values. They should be reset because the control is supposed to fill its parent's client rectangle, which it will do automatically if you don't set those properties. Also, I don't understand why you have &lt;STRONG&gt;Padding&lt;/STRONG&gt; set. Lastly, the &lt;STRONG&gt;AutoSize&lt;/STRONG&gt; property is false, it should be true.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ActivistInvestor_0-1758603096763.png" style="width: 602px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1572956i3CE66E2B94717832/image-dimensions/602x290?v=v2" width="602" height="290" role="button" title="ActivistInvestor_0-1758603096763.png" alt="ActivistInvestor_0-1758603096763.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2025 04:55:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/control-for-size-of-palette-set/m-p/13821505#M85782</guid>
      <dc:creator>ActivistInvestor</dc:creator>
      <dc:date>2025-09-23T04:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: control for size of Palette Set</title>
      <link>https://forums.autodesk.com/t5/net-forum/control-for-size-of-palette-set/m-p/13821584#M85783</link>
      <description>&lt;P&gt;thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2025 06:31:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/control-for-size-of-palette-set/m-p/13821584#M85783</guid>
      <dc:creator>a_saber_mt</dc:creator>
      <dc:date>2025-09-23T06:31:46Z</dc:date>
    </item>
  </channel>
</rss>

