Re: SoC-Status 2007/08/02



Am Donnerstag, den 02.08.2007, 11:24 -0400 schrieb Behdad Esfahbod:
> On Thu, 2007-08-02 at 11:04 +0200, Mathias Hasselmann wrote:
> 
> > 
> > When working on GtkVBox and vertical natural size aware alignment in
> > GtkTable I realized GtkLabel doesn't support ellipses when rotated. So I
> > implemented ellipsizing support for rotated labels[1]. This code only
> > works properly for angles being multiples of 90° so far (first
> > screencast[2]), but I managed to write some test program getting
> > ellipses right for any angle (second screencast[3]) - just have to adopt
> > the code to the label. 
> 
> That's quite impressive!  Show us the code!

git clone http://taschenorakel.de/git/playground/

Well, but that code show single-line text by purpose!
Multi-line support would need line-breaking callbacks in Pango.

Ciao,
Mathias
-- 
Mathias Hasselmann <mathias taschenorakel de>
http://taschenorakel.de/

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil



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