Re: Setting exact size of Gtk::Label
- From: Harry van Haaren <harryhaaren gmail com>
- To: "D. R. Evans" <doc evans gmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: Setting exact size of Gtk::Label
- Date: Fri, 9 Sep 2011 00:29:03 +0100
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]