Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

modifying TrackBar.Height has no effect?

$
0
0
Hello all,

I'm adding a trackbar control to my WinForm programmatically. I'm manually sizing and positioning it using the "Location" and "Height/Width" properties of the control. The Trackbar control is oriented horizontally with "TickStyle.None" assigned. I've noticed that there appears to be a lot of empty space underneath the TrackBar that belongs to the control itself. If other controls are positioned to close to the underside of the Trackbar they become obscured. I'm trying to trim away this space by reducing the trackBar's Height property but it seems to have no effect, even if I set the Height property to 1! What's happening here?

Thanks in advance.
-L

Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>