Re: StEntry text alignment



On Sun, 2012-12-30 at 19:06 +0000, Sam Bull wrote:
> Any help with making the text alignment work in the resized entry, or in
> making events work in the BoxLayout would be greatly appreciated.

OK, if anybody else happens to need this. I've used a dirty hack to fix
it. It seems the St.Entry widget is about the only widget that will
receive these events. So, I added another St.Entry widget, setting the
size to fill the area. I also set it's _overlap attribute to 0, so it
would sit across the whole note.
	I then hid the clutterText actor, so it didn't do anything, and
connected the signals to it. So, it's just a dummy invisible widget that
catches the events for me.

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]