From: drscrypt on 30 Mar 2010 10:41 When I scale a canvas which contains lots of text, it doesn't seem to do anything. For comparison, when I created an oval shape, it got smaller but the text (i.e., font sizes) remained the same. Does the scale only apply to shaped objects? DrS
From: Alexandre Ferrieux on 30 Mar 2010 10:54 On Mar 30, 4:41 pm, drscr...(a)gmail.com wrote: > When I scale a canvas which contains lots of text, it doesn't seem to do > anything. For comparison, when I created an oval shape, it got smaller > but the text (i.e., font sizes) remained the same. Does the scale only > apply to shaped objects? > > DrS Scale doesn't apply to items whose geometry in intrinsic, like text and window. IOW, [llength [.c coords $it]]>2 is the criterion ;-) -Alex
From: drscrypt on 30 Mar 2010 11:05 On 3/30/2010 10:54 AM, Alexandre Ferrieux wrote: > > Scale doesn't apply to items whose geometry in intrinsic, like text > and window. > IOW, [llength [.c coords $it]]>2 is the criterion ;-) > > -Alex Thanks for the clarification. DrS
From: Ruchir on 31 Mar 2010 06:03 On Mar 30, 7:54 pm, Alexandre Ferrieux <alexandre.ferri...(a)gmail.com> wrote: > On Mar 30, 4:41 pm, drscr...(a)gmail.com wrote: > > > When I scale a canvas which contains lots of text, it doesn't seem to do > > anything. For comparison, when I created an oval shape, it got smaller > > but the text (i.e., font sizes) remained the same. Does the scale only > > apply to shaped objects? > > > DrS > > Scale doesn't apply to items whose geometry in intrinsic, like text > and window. > IOW, [llength [.c coords $it]]>2 is the criterion ;-) > > -Alex I also faced the same problem sometime back. And then to resize text had to change the font size after some levels of zoom. Is there a better way re-scale the text on canvas? Regards, Ruchir
|
Pages: 1 Prev: This piece of code is correct (exec vs open)? Next: Two interesting tcl posts on reddit |