Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/xwt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Stedfast <jeff@xamarin.com>2012-09-13 20:25:34 +0400
committerJeffrey Stedfast <jeff@xamarin.com>2012-09-13 20:25:34 +0400
commit8a4916ed0155a01ab94a5ec06fbb8c0096e71bb8 (patch)
tree48e84636611313544f9f46a7a06053f8ca9d07e1 /Xwt.Gtk/Xwt.GtkBackend/ButtonBackend.cs
parent0151a9d3be9836857da930151fb7ef670a3e4997 (diff)
[Xwt.Gtk] Put a VSeparator between the content and the down-arrow
Diffstat (limited to 'Xwt.Gtk/Xwt.GtkBackend/ButtonBackend.cs')
-rwxr-xr-xXwt.Gtk/Xwt.GtkBackend/ButtonBackend.cs3
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