Forum Discussion

jaxim's avatar
jaxim
Visitor
8 years ago

Left padding of MiniKeyboard textEditBox

I replaced the background of the MinKeyboard textEditBox using the backgroundUri property. When I do this, the text of the textbox is completely left justified. There is no more padding on the left side of the textfield. If I replace the backgroundUri, how do I ensure there is left side padding?

5 Replies

  • Did you try setting TextEditBox width to something less than the keyboard / background image width?
  • I just tried and the text does get smaller and is centered justified compared to the keyboard but so does the textfield's background.

    So I want the textfield background to keep the same width but the textfield to have a narrower width or have padding around its left and right sides. 
  • yeah that's a pain, don't see any way to distinguish the text from the background; you could maybe position a separate fake background (poster) over it and maybe get it to work?
  • I personally made my own text box.. since then though; I simply add spaces to text I want to pad. It's just easier.