2 writes to scaledTextPadding
System.Windows.Forms (2)
winforms\Managed\System\WinForms\ToolStripDropDownMenu.cs (2)
88scaledTextPadding = DpiHelper.LogicalToDeviceUnits(TextPadding); 613scaledTextPadding = DpiHelper.LogicalToDeviceUnits(TextPadding, newDpi);
9 references to scaledTextPadding
System.Windows.Forms (9)
winforms\Managed\System\WinForms\ToolStripDropDownMenu.cs (9)
122int textPadding = (rightToLeft == RightToLeft.Yes) ? scaledTextPadding.Right : scaledTextPadding.Left; 383this.maxItemSize.Height = Math.Max(maxTextSize.Height + scaledTextPadding.Vertical, Math.Max(maxCheckSize.Height + scaledCheckPadding.Vertical, maxArrowSize.Height + scaledArrowPadding.Vertical)); 395maxTextSize.Height = maxItemSize.Height - scaledTextPadding.Vertical; 472nextPoint.X = imageMarginBounds.Right+ scaledTextPadding.Left; 473nextPoint.Y = scaledTextPadding.Top; 477nextPoint.X = textRectangle.Right+ scaledTextPadding.Right + scaledArrowPadding.Left; 489trimPadding += scaledTextPadding.Right; 499trimPadding += scaledTextPadding.Left;