4 references to EditorLineButtonPadding
System.Windows.Forms.Design (4)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (4)
150
protected override int GetTextBoxRightPadding(int textBoxHeight) => base.GetTextBoxRightPadding(textBoxHeight) + textBoxHeight + 2 *
EditorLineButtonPadding
;
176
int buttonHeight = EditRegionSize.Height -
EditorLineButtonPadding
* 2 - 1;
177
_button.Location = new Point(EditRegionLocation.X + EditRegionSize.Width - buttonHeight -
EditorLineButtonPadding
, EditRegionLocation.Y +
EditorLineButtonPadding
+ 1);