Re: Label with fixed size

2014-08-29 Thread rastersoft
Hi! Well, it *nearly* worked: the label is cut as expected, but the fixed itself gets expanded, so I end with a Gtk.Fixed as big as would be the label as is, with a cut label inside... Is it possible to also avoid the Gtk.Fixed to be resized? El 29/08/14 a las #4, Stefan Salewski escribió:

Re: Label with fixed size

2014-08-29 Thread Benjamin Schnitzler
Well, thats a philosophie of Gtk; it's kind of a space optimization, since fixed layouts often suffer from some problems, especially on smaller devices, etc. . I guess a real Gtk philosopher could explain it much better and much more advertising. However, to solve your problem, we have to know,

Re: Label with fixed size

2014-08-29 Thread Benjamin Schnitzler
Ah wait, let me have a guess: You are drawing something and You want to have the ellipsized text inside the drawing? In this case: Why don't You just put the drawing area inside the Gtk::Fixed, maximizing it to the dimension of the Fixed and then putting the Label just above. On 18:06 Fri 29 Aug