fix #36641: "Edit Style" dialog wider and higher than necessary