DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Link: http://www.fltk.org/str.php?L2144
Version: 1.3-current
Seems like certain simple combinations of <I> and <PRE> and leading white
spaces will confuse the widget into not knowing where linked text is
located.
If I view the attached foo.html with the test/help program, I find:
1) Hovering over the 'AAAA BBBB' link is normal
2) Hovering over the 'CCCC DDDD' link, the hot area is about 4
characters to the left of the link.
3) Hovering over the 'EEEE FFFF' link, the hot area is about 8
characters to the left of the link.
This gets progressively worse the more white spaces there are. Note the
indents are all 'spaces' (not tabs, which I know this widget has some
trouble with, and try to avoid them)
In lines that don't contain italic'ed text, the cursor hovering is normal.
The attached seems to show another, possibly unrelated problem where <I>
turns italics on, but </I> doesn't turn them off. (On my system /all/ the
text within the <PRE> is italic, as if the </I>'s were being ignored.. up
to the closing </PRE>, which seems to turn off italics)
Link: http://www.fltk.org/str.php?L2144
Version: 1.3-current<H5>Test</H5>
<PRE>
text <I>-- This is italic space-indent test <A HREF="XXX">AAAA
BBBB</A>.</I>
text <I>-- This is italic space-indent test <A HREF="XXX">CCCC
DDDD</A>.</I>
text <I>-- This is italic space-indent test <A HREF="XXX">EEEE
FFFF</A>.</I>
text <I>-- This is italic space-indent test <A HREF="XXX">GGGG
HHHH</A>.</I>
text <I>-- This is italic space-indent test <A HREF="XXX">IIII
JJJJ</A>.</I>
text -- This is non-italic space-indent test <A HREF="XXX">KKKK
LLLL</A>.
text -- This is non-italic space-indent test <A HREF="XXX">MMMM
NNNN</A>.
text -- This is non-italic space-indent test <A HREF="XXX">OOOO
PPPP</A>.
text -- This is non-italic space-indent test <A HREF="XXX">QQQQ
RRRR</A>.
text -- This is non-italic space-indent test <A HREF="XXX">SSSS
TTTT</A>.
</PRE>
<!--- EVERYTHING FROM HERE ON DOWN DOES NOT AFFECT THE ABOVE
BUT IS INCLUDED HERE FOR REFERENCE, AS THIS IS THE ORIGINAL
TEXT I NOTICED THE PROBLEM WITH.
--->
<P>
Here's some regular text.
<P>
<H5>Examples</H5>
<P><PRE>
default <I>-- Uses whatever is set in the Maya scene
file</I>
maya(sw) <I>-- Use the <A HREF="#Maya_Software">"Maya
Software"</A> renderer</I>
vector(vr) <I>-- Use Maya "Vector Renderer"</I>
mentalray(mr) <I>-- Use <A HREF="#MentalRay_For_Maya">"Mental
Ray"</A> renderer ('Mayatomr' plugin)</I>
mentalray-standalone(mi) <I>-- Use <A
HREF="#MentalRay_Standalone">"MentalRay Standalone"</A> renderer</I>
mi-gen(mr) <I>-- Generate <A HREF="#MentalRay_MI_Gen">MI
files</A> only</I>
hardware(hr) <I>-- Use "Hardware" renderer</I>
renderman(rman) <I>-- Use "Renderman" renderer plugin</I>
3Delight(3delight) <I>-- Use the "3delight" renderer plugin</I>
</PRE>
<P>
<HR>
<P>
Here's some more regular text.
<P>
_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs