.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Palette Size - Width Problem

1 REPLY 1
Reply
Message 1 of 2
SRSDS
756 Views, 1 Reply

Palette Size - Width Problem

Hi,

How do I control the width of a palette?

 

ps = New PaletteSet("MyPalette")
ps.Size = New System.Drawing.Size(164, 266)
ps.MinimumSize = New System.Drawing.Size(215, 150)

ps.TitleBarLocation = PaletteSetTitleBarLocation.Left

 

For some reason changing the Size and MinimumSize doesn't seem to have any impact.

 

Also..I've been basing a project on the width it allows me but on a lower resolution screen it loads cutting off the right hand segments of the controls. 

1 REPLY 1
Message 2 of 2
BlackBox_
in reply to: SRSDS

Not sure if you're using WPF, or Form Control, but in the Designer's Properties Pane, what are your MaxHeight, MaxWidth, MinHeight, and MinWidth Properties set to?

 

As I understand it, the PaletteSet.Size Property only controls the initial dimensions, and not necessarily the size after it's been modified by user (I could be wrong).



"How we think determines what we do, and what we do determines what we get."

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost