<?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: Toolbar less wide? in 3ds Max Programming Forum</title>
    <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/toolbar-less-wide/m-p/10220053#M5495</link>
    <description>&lt;P&gt;I figured that part of the problem was my poor maxscript skills.&lt;/P&gt;</description>
    <pubDate>Wed, 07 Apr 2021 21:37:10 GMT</pubDate>
    <dc:creator>dg3duy</dc:creator>
    <dc:date>2021-04-07T21:37:10Z</dc:date>
    <item>
      <title>Toolbar less wide?</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/toolbar-less-wide/m-p/10217194#M5491</link>
      <description>&lt;P&gt;It is possible that the toolbar is less wide, by default it appears very wide and I can't find a way to set its width &lt;span class="lia-unicode-emoji" title=":thinking_face:"&gt;🤔&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="toolbar.gif" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/903095i8BD9DB5E5529FA8B/image-size/large?v=v2&amp;amp;px=999" role="button" title="toolbar.gif" alt="toolbar.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;ROLLOUT Toolbar "" 
(
	
	
	local Char = ""
	local Ccolor = dotnetclass "system.drawing.color"	
	Local Mysel = #()
	
	dotNetControl 'KeyAll' "system.windows.forms.button" pos:[0,0] width:45 height:40 align:#left
	dotNetControl 'KeySel' "system.windows.forms.button" pos:[44,0] width:45 height:40 align:#left
	dotNetControl 'HideAll' "system.windows.forms.button" pos:[88,0] width:45 height:40 align:#left
	dotNetControl 'HideFK' "system.windows.forms.button" pos:[132,0] width:45 height:40 align:#left
	dotNetControl 'HideIK' "system.windows.forms.button" pos:[176,0] width:45 height:40 align:#left
	dotNetControl 'HideBend' "system.windows.forms.button" pos:[220,0] width:45 height:40 align:#left
	dotNetControl 'HideSec' "system.windows.forms.button" pos:[264,0] width:45 height:40 align:#left
	dotNetControl 'SelectAll' "system.windows.forms.button" pos:[308,0] width:45 height:40 align:#left
	dotNetControl 'Reset' "system.windows.forms.button" pos:[352,0] width:45 height:40 align:#left

	
	
	
	on Toolbar open do
	(
	
	KeyAll.flatStyle=KeyAll.flatStyle.flat
	KeyAll.backColor=KeyAll.backColor.GreenYellow
	KeyAll.text="Key All"
		
	KeySel.flatStyle=KeySel.flatStyle.flat
	KeySel.backColor=KeySel.backColor.GreenYellow
	KeySel.text="Key Sel"

	HideAll.flatStyle=HideAll.flatStyle.flat
	HideAll.backColor=HideAll.backColor.LightBlue
	HideAll.text="Hide All"
		
	HideFK.flatStyle=HideFK.flatStyle.flat
	HideFK.backColor=HideFK.backColor.LightBlue
	HideFK.text="Hide FK"
		
	HideIK.flatStyle=HideIK.flatStyle.flat
	HideIK.backColor=HideIK.backColor.LightBlue
	HideIK.text="Hide IK"
	
	HideBend.flatStyle=HideBend.flatStyle.flat
	HideBend.backColor=HideBend.backColor.LightBlue
	HideBend.text="Hide Bend"
	
	HideSec.flatStyle=HideSec.flatStyle.flat
	HideSec.backColor=HideSec.backColor.LightBlue
	HideSec.text="Hide Sec"
	
	SelectAll.flatStyle=SelectAll.flatStyle.flat
	SelectAll.backColor=SelectAll.backColor.Yellow
	SelectAll.text="Select All"
	
	Reset.flatStyle=Reset.flatStyle.flat
	Reset.backColor=Reset.backColor.Red
	Reset.text="Reset"


	)
)




CREATEDIALOG Toolbar POS:[500,200] width:397 height:40
CUI.REGISTERDIALOGBAR Toolbar
CUI.DOCKDIALOGBAR Toolbar #cui_dock_all&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 00:37:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/toolbar-less-wide/m-p/10217194#M5491</guid>
      <dc:creator>dg3duy</dc:creator>
      <dc:date>2021-04-07T00:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: Toolbar less wide?</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/toolbar-less-wide/m-p/10219476#M5492</link>
      <description>&lt;P&gt;This is your own script, so you can make the toolbar with the height and width as you desire.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;CREATEDIALOG Toolbar POS:[500,200] width:397 height:10&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;When you register it as a dialogbar then...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 17:41:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/toolbar-less-wide/m-p/10219476#M5492</guid>
      <dc:creator>miauuuu</dc:creator>
      <dc:date>2021-04-07T17:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: Toolbar less wide?</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/toolbar-less-wide/m-p/10220030#M5493</link>
      <description>&lt;P&gt;This is a bug in the 2020-2021 versions... (probably 2017+ which I haven't tried).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fixed in 2022 only :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Dock toolbars with correct height Dockwidgets created via MaxScript maintain the correct/initial size&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 21:30:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/toolbar-less-wide/m-p/10220030#M5493</guid>
      <dc:creator>denisT.MaxDoctor</dc:creator>
      <dc:date>2021-04-07T21:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: Toolbar less wide?</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/toolbar-less-wide/m-p/10220050#M5494</link>
      <description>&lt;P&gt;I tried it that way and it still shows the same size.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 21:36:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/toolbar-less-wide/m-p/10220050#M5494</guid>
      <dc:creator>dg3duy</dc:creator>
      <dc:date>2021-04-07T21:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: Toolbar less wide?</title>
      <link>https://forums.autodesk.com/t5/3ds-max-programming-forum/toolbar-less-wide/m-p/10220053#M5495</link>
      <description>&lt;P&gt;I figured that part of the problem was my poor maxscript skills.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Apr 2021 21:37:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/3ds-max-programming-forum/toolbar-less-wide/m-p/10220053#M5495</guid>
      <dc:creator>dg3duy</dc:creator>
      <dc:date>2021-04-07T21:37:10Z</dc:date>
    </item>
  </channel>
</rss>

