diff options
author | Jeffrey Stedfast <jeff@xamarin.com> | 2012-09-13 20:25:34 +0400 |
---|---|---|
committer | Jeffrey Stedfast <jeff@xamarin.com> | 2012-09-13 20:25:34 +0400 |
commit | 8a4916ed0155a01ab94a5ec06fbb8c0096e71bb8 (patch) | |
tree | 48e84636611313544f9f46a7a06053f8ca9d07e1 /Xwt.Gtk/Xwt.GtkBackend/ButtonBackend.cs | |
parent | 0151a9d3be9836857da930151fb7ef670a3e4997 (diff) |
[Xwt.Gtk] Put a VSeparator between the content and the down-arrow
Diffstat (limited to 'Xwt.Gtk/Xwt.GtkBackend/ButtonBackend.cs')
-rwxr-xr-x | Xwt.Gtk/Xwt.GtkBackend/ButtonBackend.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Xwt.Gtk/Xwt.GtkBackend/ButtonBackend.cs b/Xwt.Gtk/Xwt.GtkBackend/ButtonBackend.cs index f7c1604d..8c9490ec 100755 --- a/Xwt.Gtk/Xwt.GtkBackend/ButtonBackend.cs +++ b/Xwt.Gtk/Xwt.GtkBackend/ButtonBackend.cs @@ -101,7 +101,8 @@ namespace Xwt.GtkBackend if (b.Type == ButtonType.DropDown) { if (contentWidget != null) { Gtk.HBox box = new Gtk.HBox (false, 3); - box.PackStart (contentWidget, true, true, 0); + box.PackStart (contentWidget, true, true, 3); + box.PackStart (new Gtk.VSeparator (), true, true, 0); box.PackStart (new Gtk.Arrow (Gtk.ArrowType.Down, Gtk.ShadowType.Out), false, false, 0); contentWidget = box; } else |