Eto.Forms.Panel, IPanel Size does not work

sphereneRHINOPlugin.cs (6.0 KB)

I desperatly trying to give my Panel a minimum initial size (When first opening) but Rhino does not get it. I uploaded my c# plugin code. I open the panel through ironpython like:


def open_inspector():
    print("open_inspector")
    id = Rhino.PlugIns.PlugIn.IdFromName("sphereneRHINO")
    plugin = Rhino.PlugIns.PlugIn.Find(id)
    plugin.register()
    gg = guid("1E7780CA-F004-4AE7-B918-19E68BF7C7C8")
    Rhino.UI.Panels.OpenPanel(gg)

Panels cannot be given a minimum size as they can be placed in many ways or places, it’s up to the user to size things. It’s best to make your panel as responsive as possible.

thank you sir, I am just wondering the initial floating size is about 300x300 for all the panels?

Are you meaning when it is loaded whilst docked or floating?

With first time OpenPanel from script its allways floating style.