c# - Listbox Extending too far when form opened -


i have bit of interesting situation. inside form designer shows listbox ends @ point. however, when run program , launch form listbox makes continuing unless drag window down little. looks when in visual studio. enter image description here

this looks when running. notice how listbox looks going on don? if drag window down little shows end it. shouldn't have drag down every time run it. feel missing something. missing?enter image description here

when running winforms or wpf application, "resize border" get's added isn't visible in designer. if set resize "can minimize" should work expected.

a solution snap bottom border (i don't know if it's same in wpf margin="0,0,0,0" , width="150" should trick)

edit: made test project; worked me: enter image description here


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -