Re: Calculating the size of TextView



On Sat, Nov 24, 2012 at 8:02 AM, Johan Mattsson
<johan mattsson m gmail com> wrote:
Thank you, this is good news.

My hack to set the size for TextView, is to call set_text when ever
it's parent is drawn. Far from good code but it works:

                vbox.draw.connect (() => {
                        text_view1.set_buffer (text_buffer1);
                        return false;
                });

/Johan



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