Control clipping issues
-
I have a ListView sitting on an MDI tab (from the Magic library, if that makes a difference). If I set the tab's Dock property to DockStyle.Fill (and do the same with the ListView), the ListView control gets partially clipped by the status bar. I don't mind handing Resize events to keep things organized and prevent the clipping, but I'm wondering if there isn't a better way. Can the controls be told to size themselves correctly without an programmer intervention?
-
I have a ListView sitting on an MDI tab (from the Magic library, if that makes a difference). If I set the tab's Dock property to DockStyle.Fill (and do the same with the ListView), the ListView control gets partially clipped by the status bar. I don't mind handing Resize events to keep things organized and prevent the clipping, but I'm wondering if there isn't a better way. Can the controls be told to size themselves correctly without an programmer intervention?
I can only assume that it's something to do with Magic's TabControl implementation, as I have done similar things with the standard TabControl without problem. One possible workaround would be to set the DockStyle of the ListView to None, size it to fill the TabPage in the designer, then set the Anchor property to all sides (Left, Right, Top, Bottom).
-
I can only assume that it's something to do with Magic's TabControl implementation, as I have done similar things with the standard TabControl without problem. One possible workaround would be to set the DockStyle of the ListView to None, size it to fill the TabPage in the designer, then set the Anchor property to all sides (Left, Right, Top, Bottom).