[Gtk-sharp-list] Making a Gtk.Entry fill vertically
Agro Rachmatullah
agro1986 at gmail.com
Fri Apr 28 05:41:53 EDT 2006
It frustrates me that we can set the height of a Gtk.Entry (by the
property HeightRequest), but the height won't increase if the
available space increases.
For example, on this code:
// START
using System;
using Gtk;
class Test
{
static void Main()
{
Application.Init();
Window w = new Window("Test");
Entry e = new Entry();
e.HeightRequest = 200;
w.Add(e);
w.ShowAll();
Application.Run();
}
}
// END
The Entry's width will remain 200 even if I increase the height of the
window (compare if I change Entry to Button, for example). Is there a
way to override this behaviour?
Thanks
More information about the Gtk-sharp-list
mailing list