
For some reason the labels for “Date From” and “Date To” are rendering strangely on their bottom edges. See how the datepickers are not rendered correctly because of this.
Anyone know why this is occurring? It only occurs when I start the app from the exectuable. It doesn’t happen in the IDE.
It looks like the bounds of the
Labelcontrols are spilling over into theDateTimePickercontrols. Even when a WinForms control has a transparent background, it is not guaranteed to play nice with other controls in the same container. Try reducing the margins/padding on the labels or select bothDateTimePickercontrols and use the “bring to front” option.