Permalink
Browse files

2008-04-10 Mike Kestner <mkestner@novell.com>

	* src/DocView.cs : add size request support to enable scrolling.

svn path=/trunk/monodoc-widgets/; revision=100356
  • Loading branch information...
1 parent b1edf3f commit 2713cb96303f0c861ed4a30cf32c220eefa1b9ee @mkestner mkestner committed Apr 10, 2008
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/DocView.cs
View
@@ -60,9 +60,10 @@ void OnNodeSelected (object o, NodeSelectedEventArgs args)
if (item == value)
return;
item = value;
- if (item != null)
+ if (item != null) {
item.Update (Allocation.Width);
- SetSizeRequest (item.Size.Width, item.Size.Height);
+ SetSizeRequest (item.Size.Width, item.Size.Height);
+ }
QueueDraw ();
}
}

0 comments on commit 2713cb9

Please sign in to comment.