I have a carefully sized gradient image that I use as a custom hilite
pattern in a list field. It is exactly the height of the textheight.
When the field is not scrolled it lines up perfectly with any selected
line of the field.
But if the scrollbar is dragged and stopped in between even lineheight
increments, the pattern tiles in a very ugly way. It looks like the
engine is just tiling the pattern all the way down the field and
whatever line is currently selected just makes that area of the tiled
image show through.
I don't really want to mess with creating a patterned button to lay over
the field as a fake selection rectangle. Does anyone know of a trick to
prevent the inaccurate pattern when the field isn't scrolled to an even
increment?
I suppose another option is to script the field to snap to the next
lineheight increment but if there's a better trick I'd prefer it.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode