• 0

    posted a message on Text that wraps around an image

    Anyone have an idea on how to do this?

    Posted in: Miscellaneous Development
  • 0

    posted a message on Text that wraps around an image

    Hi guys,

    I created a screen button with an image and some text. Now I want the image to be on the left and the text on the right, like this:

    _ _ _ _ _ _ _ _ _ _
    |xxxxxxx Some text |
    |xIMAGEx goes here |
    |xxxxxxx blah blah |
    |_ _ _ _ _ _ _ _ _ |

    So for the text of the button, I used this:

    <img path="Assets\Textures\btn-ability-protoss-phaseshift.dds" />Some text
    

    But the resulting look is this (the text is on the same line as the image):
    xxxxxxx
    xIMAGEx
    xxxxxxx Some text

    Is there any way to separate the text or wrap the text around the image, like the CSS "float" property? I can probably do it by creating the image separately and just placing it on top of the button, but I hope there is a better way.

    Posted in: Miscellaneous Development
  • To post a comment, please or register a new account.