Results 1 to 2 of 2

Thread: A bunch of bugs with text rendering

  1. #1
    Basic Member
    Join Date
    Jan 2012
    Posts
    144

    A bunch of bugs with text rendering

    https://i.imgur.com/rRpi7yn.png

    See the screenshot.
    Black background is the panel, text on it is the label.

    1. white-space: nowrap; does not get update in realtime. Got it working only after restarting the mod.
    2. Text has a text-shadow. Which somehow gets rendered outside parent's panel.
    3. Text-overflow does not work at all. It is not set and setting it to ellipsis does nothing.
    4. Adding overflow: clip clip; to the parent panel makes the WHOLE text shadow get rendered.
    Last edited by DoctorGester; 07-03-2015 at 06:15 PM.

  2. #2
    Basic Member arhowk's Avatar
    Join Date
    Mar 2015
    Location
    Michigan, USA
    Posts
    210
    It looks like you're rendering the label inside of an additional Panel. This panel could have width: fit-children, margin-right: -100px, etc., which would eliminate 1. and 3. as bugs. 2. is still clearly a bug, though, a rather rare one because this scenario would only happen by a code mishap.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •