问题
i am using a split container. For some reason, the splitter looks like this:
It is very hard to see. It is the faint 2 lines in the middle of the two black lines. How do i fix this issue and add a filling between the two lines? I am using Fixed Single as my border style.
回答1:
Try changing the backcolor, but if using the designer, then also go into Panel1 and Panel2 and change those respective backcolors to the colors you want.
Also, their is a SplitterWidth property that can adjust the overall size of the splitter handle.
回答2:
Verify that the split container's anchors are set properly.
回答3:
Use backcolor to change the color.
http://msdn.microsoft.com/en-us/library/system.windows.forms.control.backcolor.aspx
来源:https://stackoverflow.com/questions/11529975/splitcontainer-splitter-in-c