diff options
author | Matt Ward <matt.ward@xamarin.com> | 2017-06-15 18:42:32 +0300 |
---|---|---|
committer | Matt Ward <ward.matt@gmail.com> | 2017-06-15 19:14:37 +0300 |
commit | ddb2f8a64b66dc1918dfffd94632303bff38f77b (patch) | |
tree | a9f78dc9a6879056e5473c8cdb01d6ca5d10ed3d /main/src/addins/MonoDevelop.Packaging | |
parent | be56617f235aaa2ddac09ecaad4f2e663cb3695d (diff) |
[Packaging] Fix description metadata not wrapping in project options
Fixed bug #56918 - When typing a description in NuGet package Metadata
the UI keeps on growing
https://bugzilla.xamarin.com/show_bug.cgi?id=56918
In project options typing a long description for the NuGet package
metadata would cause the dialog to increase in width. The release
notes on the other tab does not have this problem. Setting the
scroll window's policy to never show the horizontal scrolllbars
seems to break the word wrapping. Leaving it as the default fixes
the wrapping so the dialog does not increase in width.
Diffstat (limited to 'main/src/addins/MonoDevelop.Packaging')
-rw-r--r-- | main/src/addins/MonoDevelop.Packaging/gtk-gui/MonoDevelop.Packaging.Gui.GtkNuGetPackageMetadataOptionsPanelWidget.cs | 1 | ||||
-rw-r--r-- | main/src/addins/MonoDevelop.Packaging/gtk-gui/gui.stetic | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/main/src/addins/MonoDevelop.Packaging/gtk-gui/MonoDevelop.Packaging.Gui.GtkNuGetPackageMetadataOptionsPanelWidget.cs b/main/src/addins/MonoDevelop.Packaging/gtk-gui/MonoDevelop.Packaging.Gui.GtkNuGetPackageMetadataOptionsPanelWidget.cs index fd93c0c519..47e78a0675 100644 --- a/main/src/addins/MonoDevelop.Packaging/gtk-gui/MonoDevelop.Packaging.Gui.GtkNuGetPackageMetadataOptionsPanelWidget.cs +++ b/main/src/addins/MonoDevelop.Packaging/gtk-gui/MonoDevelop.Packaging.Gui.GtkNuGetPackageMetadataOptionsPanelWidget.cs @@ -168,7 +168,6 @@ namespace MonoDevelop.Packaging.Gui // Container child generalTable.Gtk.Table+TableChild this.packageDescriptionScrolledWindow = new global::Gtk.ScrolledWindow(); this.packageDescriptionScrolledWindow.Name = "packageDescriptionScrolledWindow"; - this.packageDescriptionScrolledWindow.HscrollbarPolicy = ((global::Gtk.PolicyType)(2)); this.packageDescriptionScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child packageDescriptionScrolledWindow.Gtk.Container+ContainerChild this.packageDescriptionTextView = new global::Gtk.TextView(); diff --git a/main/src/addins/MonoDevelop.Packaging/gtk-gui/gui.stetic b/main/src/addins/MonoDevelop.Packaging/gtk-gui/gui.stetic index b6cc959ea9..2116430e8c 100644 --- a/main/src/addins/MonoDevelop.Packaging/gtk-gui/gui.stetic +++ b/main/src/addins/MonoDevelop.Packaging/gtk-gui/gui.stetic @@ -449,7 +449,6 @@ <child> <widget class="Gtk.ScrolledWindow" id="packageDescriptionScrolledWindow"> <property name="MemberName" /> - <property name="HscrollbarPolicy">Never</property> <property name="ShadowType">In</property> <child> <widget class="Gtk.TextView" id="packageDescriptionTextView"> |