Panel plugins have a fixed size in trunk

Stefan Stuhr xfce4devlist at sstuhr.dk
Tue Sep 11 20:23:38 CEST 2007


On Tue, 2007-09-11 at 20:12 +0200, Stephan Arts wrote:
> On 9/11/07, juha <kautto.juha at kolumbus.fi> wrote:
> > Nick Schermer kirjoitti:
> > > Or rotate the text / vertical text.
> > >
> > Is clock doing that?
> >
> > 2
> > 1
> > :
> > 0
> > 6
> > :
> > 1
> > 3
> >
> > instead of 21:06:13 ?
> > I don't think so.
> 
> You can let gdk paint your text vertically 21:06:13, rotated 90
> degrees and read it just like a smiley :-)

It's not even that hard to do:

gtk_label_set_angle ()
void                gtk_label_set_angle                 (GtkLabel *label,
                                                         gdouble angle);

Sets the angle of rotation for the label. An angle of 90 reads from from
bottom to top, an angle of 270, from top to bottom. The angle setting
for the label is ignored if the label is selectable, wrapped, or
ellipsized.

      * label :	a GtkLabel
      * angle : the angle that the baseline of the label makes with the
        horizontal, in degrees, measured counterclockwise

Since 2.6

http://library.gnome.org/devel/gtk/stable/GtkLabel.html#gtk-label-set-angle

It could be an option in the Orage plugin. "Rotate text with vertical
panels", or something like that.

> Regards,
> 
> Stephan

Stefan




More information about the Xfce4-dev mailing list