• CenterVertical() in docked item.
    2 replies, posted
How can I Center a Dock(LEFT) item vertically? I tried CenterVertical(), but you can't set the pos for a docked item. And DockMargin doesn't work either because you doesn't get the correct value. How can I do it anyway?
Dock a transparent panel instead, parent to it your panel that is centered vertically inside the docked panel.
Can you show me a demo? I get what you say, but can't virtualize it in code. :( EDIT: Nvm, Fixed it.
Sorry, you need to Log In to post a reply to this thread.