Re: Setting exact size of Gtk::Label



On Thu, Sep 8, 2011 at 7:53 PM, D. R. Evans <doc evans gmail com> wrote:
How do I set the precise size of a Label?
 
the Label expands to show the text

Why would you *not* want this? It would result in text going "off the edge", and not being readable...

-Harry

PS: Gtk+ (and hence gtkmm) are widget based, and not pixel based. You'll have a hard time setting "hard-coded" widget sizes in pixels, because it is designed to expand widgets to show the contents. As mentioned above, why would you not want this feature?


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