|
I have a problem with ListBox.When i add it in a panel and set it's Dock property to Fill,obviosly it must fill the space in the panel,but there is a blank space in the bottom side of the panel.Even if i change it's BorderStyle to None,there is no change....But if i reduce the panel height everything is ok,of course i do not want to reduce the height of the panel in my application.The other thing i do is to set the Anchor property of the listbox to all sides,but i just can't to make it's heigth equals to height of the panel.There is always blank space in the bottow side of the panel!How to fix that problem?
|