Re: Pango problem



>I wrote this in the past, but nobody can help me. So I try again,
>because this is for us very important.
>In dialogs we use gtk_entry_set_width_chars(GTK_ENTRY(entry),length) and
>mono spaced fonts like courier 12 to told the entry the visible lenght.
>With Linux all is ok. When we start the application on TRU64 or start
>the appl remote to Windows with Exceed the entrys are to long, it means
>when length is 6 then in the entry has space for 10 character.

set_width_chars has nothing to do with *visual* appearance. it limits
the number of chars that can be entered into the entry.

see my recently posted set_usize_to_display_given_text() for how to do
this without pango, then think about how best to do it with pango.

--p



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