Re: Right justification of text in GtkEntry



Egon Andersen, Talura wrote:
Hi,

How do I make text (actually digits) right justified when the digits are
typed in the entry box?

I would like to se my numbers typed as:
[   123.45]
rather than
[123.45   ]

Try this:
g_object_set (G_OBJECT (entry_box), "xalign", 1.0, NULL);




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