<?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 UI Glitch When Adjusting AutoCAD Palette Size Dynamically in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/ui-glitch-when-adjusting-autocad-palette-size-dynamically/m-p/13323716#M808</link>
    <description>&lt;P&gt;I have developed a plugin for AutoCAD that displays multiple UIs using palettes. Since each UI has a different size, I am using a single palette and dynamically adjusting its size by opening and closing it as needed to optimize performance.&lt;/P&gt;&lt;P&gt;However, when the palette opens, there is a noticeable glitchy effect, which is not making the transition smoother.&lt;/P&gt;&lt;P&gt;Is there a better way to handle palette resizing dynamically without causing this visual glitch?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 17 Feb 2025 16:31:12 GMT</pubDate>
    <dc:creator>santhoshr151194</dc:creator>
    <dc:date>2025-02-17T16:31:12Z</dc:date>
    <item>
      <title>UI Glitch When Adjusting AutoCAD Palette Size Dynamically</title>
      <link>https://forums.autodesk.com/t5/net-forum/ui-glitch-when-adjusting-autocad-palette-size-dynamically/m-p/13323716#M808</link>
      <description>&lt;P&gt;I have developed a plugin for AutoCAD that displays multiple UIs using palettes. Since each UI has a different size, I am using a single palette and dynamically adjusting its size by opening and closing it as needed to optimize performance.&lt;/P&gt;&lt;P&gt;However, when the palette opens, there is a noticeable glitchy effect, which is not making the transition smoother.&lt;/P&gt;&lt;P&gt;Is there a better way to handle palette resizing dynamically without causing this visual glitch?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2025 16:31:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/ui-glitch-when-adjusting-autocad-palette-size-dynamically/m-p/13323716#M808</guid>
      <dc:creator>santhoshr151194</dc:creator>
      <dc:date>2025-02-17T16:31:12Z</dc:date>
    </item>
    <item>
      <title>Betreff: UI Glitch When Adjusting AutoCAD Palette Size Dynamically</title>
      <link>https://forums.autodesk.com/t5/net-forum/ui-glitch-when-adjusting-autocad-palette-size-dynamically/m-p/13323777#M809</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;that's far away from a How to use Autocad question. Ask in specific .net (or C++?) board, next door.&lt;/P&gt;&lt;P&gt;For better feedback&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2025 16:59:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/ui-glitch-when-adjusting-autocad-palette-size-dynamically/m-p/13323777#M809</guid>
      <dc:creator>cadffm</dc:creator>
      <dc:date>2025-02-17T16:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: UI Glitch When Adjusting AutoCAD Palette Size Dynamically</title>
      <link>https://forums.autodesk.com/t5/net-forum/ui-glitch-when-adjusting-autocad-palette-size-dynamically/m-p/13324117#M810</link>
      <description>&lt;P&gt;Without providing details/code of how you "...dynamically adjust &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;its&lt;/STRONG&gt;&lt;/FONT&gt; size..." (is "it" meant for Palette, or PaletteSet?) and describe what "visual glitch" mean, it is really hard to suggest anything.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the UI's initial size is really important, why you use PaletteSet to host you UI as palette? How about simply show the UI as modeless Window/Dialog (well, if your UI has to be modeless), so that the UI's size would not be limited in the existing PaletteSet, which can be docked/resized by user at anytime. This would save you from resizing the Palette and/or PaletteSet everytime you want to show your UI. Also, if the UI size matters, you can make it not resizeable ("Fixed border" for Win Form, "NoResize" for WPF Window.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you do want to use PaletteSet, which is supposed to be an Singleton instance in AutoCAD session, then, you should add your different UIs as multiple Palette tabs into the PaletteSet (then, the PaletteSet dictates the sizes of all palettes' size to be the same). That is how PaletteSet is supposed to be used, in general.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, if you choose to use PaletteSet to host multiple UIs, the UI (UserControl of Win Form or WPF) should be auto-resizeable, auto-scrollable and you better use WPF over Win Form UserControls. If the UI must keep its designed size, you might as well show it alone as modeless window/dialog (as long as you handle the modeless window/dialog correctly - treat it either as singleton instance across the AutoCAD session, or as per-document instance,...).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2025 20:43:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/ui-glitch-when-adjusting-autocad-palette-size-dynamically/m-p/13324117#M810</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2025-02-17T20:43:07Z</dc:date>
    </item>
  </channel>
</rss>

