page parent dropdown: PostPropertiesBandControl: force page parent dropdown to vertically align with publish date picker

This commit is contained in:
Nick Vella 2019-06-30 13:39:02 +10:00
parent a51a71c491
commit ae72c81ac8
1 changed files with 11 additions and 0 deletions

View File

@ -122,6 +122,17 @@ namespace OpenLiveWriter.PostEditor.PostPropertyEditing
base.OnLoad(args);
FixCategoryDropDown();
FixPageParentDropDown();
}
private void FixPageParentDropDown()
{
// For unknown reasons, the page parent drop down vertically misaligns at runtime
// Force it to vertically align with the publish date picker on location change
comboPageParent.LocationChanged += delegate
{
comboPageParent.Top = datePublishDate.Top;
};
}
private void FixCategoryDropDown()