This repository was archived by the owner on Oct 4, 2021. It is now read-only.
Commit 227dc6c
committed
[NuGet] Fix file license dialog scrollbar not always enabled
When the loading of the file license text happens after the dialog
has been displayed the vertical scrollbar for the rich text view
would not be enabled unless the dialog was resized by the user.
This seems to happen only when using the native toolkit with XWT.
To workaround this the dialog's OnReallocate method is called
when the license text is loaded after the dialog is shown. This
enables the vertical scrollbar if the license text is too long to
be displayed.1 parent 33b2ae8 commit 227dc6c
File tree
1 file changed
+4
-0
lines changed- main/src/addins/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement.Gui
1 file changed
+4
-0
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
72 | 76 | | |
73 | 77 | | |
74 | 78 | | |
| |||
0 commit comments