That looks weird - I don't use fltk2 much, but have not seen that.
Question: What box type do you have set for your input widget? The fix you describe (adding a background rectangle to the widget) is pretty much what the widget ought to be doing anyway, assuming you have the box-type set accordingly, so perhaps it is simply a matter of setting the correct box tpye and all will be well? Also, the text should be clipped to it's widget bounds - the fact that you seem to be reporting seeing text outside of the bounds, suggests that the clipping is not working either. Again, this *might* be related to box types... That looks to be the test/input demo you are running - when I run that here, all seems to be fine using fltk2 revision; $ svnversion . 7680 So I am not sure why it would not work for you. What system / tools / etc. are you using? SELEX Galileo Ltd Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
