Skip to content

Commit

Permalink
Reapply "fix dotnet#12358 [HDPI] The "document" text in the “Generati…
Browse files Browse the repository at this point in the history
…ng Previews” dialog is truncated at >200% DPI"

This reverts commit 7cf77c6.
  • Loading branch information
Epica3055 committed Oct 30, 2024
1 parent 2f2cb46 commit 752faf3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ private void InitializeComponent()

_cancellingTextBox = new TextBox()
{
AutoSize = true,
Location = new Point(8, 16),
BorderStyle = BorderStyle.None,
ReadOnly = true,
Expand Down Expand Up @@ -82,6 +81,7 @@ private void InitializeComponent()
ControlBox = false;
MinimizeBox = false;
ClientSize = ScaleHelper.ScaleToDpi(new Size(256, 122), ScaleHelper.InitialSystemDpi);
_cancellingTextBox.Width = ClientSize.Width;

CancelButton = _cancelButton;
SizeGripStyle = SizeGripStyle.Hide;
Expand Down

0 comments on commit 752faf3

Please sign in to comment.