Skip to content

Commit

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

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

_cancellingTextBox = new TextBox()
{
AutoSize = true,
Location = new Point(8, 16),
BorderStyle = BorderStyle.None,
ReadOnly = true,
Expand Down Expand Up @@ -81,7 +82,6 @@ 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 7cf77c6

Please sign in to comment.