View previous topic :: View next topic |
Author |
Message |
uvedese Contributor
Joined: 21 Jan 2006 Posts: 169 Location: Spain
|
Posted: Mon May 12, 2008 4:15 pm Post subject: Possible bug in EXTTEXT element (VD6) |
|
|
Hi:
A possible bugg in EXTTEXT element (VD6):
When I use COLOR Tag after using TAB tag the formatted text is show several pixels to the left...
Any idea?
Thanks in advance
|
|
Back to top |
|
|
vtol Valued Contributor
Joined: 05 Feb 2004 Posts: 642 Location: Eastern Indiana
|
Posted: Mon May 12, 2008 8:14 pm Post subject: |
|
|
I dont have any trouble with the color tag, but a fontsize tag would sure be nice addition for VDS7
|
|
Back to top |
|
|
uvedese Contributor
Joined: 21 Jan 2006 Posts: 169 Location: Spain
|
Posted: Tue May 13, 2008 7:50 am Post subject: |
|
|
Hi vtol:
Look this code:
Code: |
DIALOG CREATE,Test EXTTEXT,-1,0,535,160,color white
DIALOG ADD,EXTTEXT,EXTTEXT1,12,10,513,134
DIALOG SHOW
%a = Test EXTTEXT element in VDS6<br>
%a = %a"<tab>Now, the color text is changed <color=red>but it's scrolled by the left</color><br>"
%a = %a"But, if I'm not use TAB tag it's <b><color=green>ĦĦright!!...</color></b><br><br>"
%a = %aEnd test...
dialog set,exttext1,%a
wait 3
|
______________
uVeDeSe site:
http://www.uvedese.es
Description: |
|
Filesize: |
11.88 KB |
Viewed: |
1965 Time(s) |
|
Last edited by uvedese on Thu May 15, 2008 3:42 pm; edited 1 time in total |
|
Back to top |
|
|
WidgetCoder Contributor
Joined: 28 May 2002 Posts: 126 Location: CO, USA
|
Posted: Wed May 14, 2008 2:41 am Post subject: |
|
|
Yep I would call that a bug...
Workaround use color tags for all text after the tab tag:
Code: |
%a = %a"<tab><color=black>Now, the color text is changed</color> <color=red>but it's scrolled by the left</color><br>"
|
|
|
Back to top |
|
|
uvedese Contributor
Joined: 21 Jan 2006 Posts: 169 Location: Spain
|
Posted: Thu May 15, 2008 12:02 pm Post subject: |
|
|
Fantastic! Simple and easy. Very cool
Thank you, WidgetCoder...
|
|
Back to top |
|
|
|