Re: Setting exact size of Gtk::Label



set_size_request(int, int);

D. R. Evans wrote:
This is a trivial question... to which I am unable to find the answer :-(

How do I set the precise size of a Label?

The examples I found with Google use set_size_request(), but if I do that
and then place more text in the Label than it can accommodate, the Label
expands to show the text. I want the Label to be a precise, fixed size.

   Doc




_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list


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