Bugzilla – Bug 11639
asset problems with new backspace button for keyboard
Last modified: 2009-09-08 09:19:14 UTC
I'm not sure I have a clear path for a solution yet, but I do understand the problem pretty well, and we are going to need tweaked assets to make this work with the new reference for this window. The textinput bar is actually a group of two widgets, the textinput bar and the backspace button. These two widgets are held in a group widget (think of it like a container for the two items). At the skin/UI level, the background asset for this group is done at the group level. That is, the 9-tiled textinput background from these images: Text_Entry/Keyboard_Touch/text_entry_titlebar_box.png Text_Entry/Keyboard_Touch/text_entry_titlebar_box_tl.png Text_Entry/Keyboard_Touch/text_entry_titlebar_box_t.png Text_Entry/Keyboard_Touch/text_entry_titlebar_box_tr.png Text_Entry/Keyboard_Touch/text_entry_titlebar_box_r.png Text_Entry/Keyboard_Touch/text_entry_titlebar_box_br.png Text_Entry/Keyboard_Touch/text_entry_titlebar_box_b.png Text_Entry/Keyboard_Touch/text_entry_titlebar_box_bl.png Text_Entry/Keyboard_Touch/text_entry_titlebar_box_l.png and those 9 images serve as the backdrop for _both_ textinput and backspace button. Problematic are the _tr, _r, and _br tiles. They contain elements that look like the textinput bar as well as titlebar background going to the edge of the window (this is how we make the "fake" titlebar work in this area). So one path to a solution might be to change the areas of the _tr, _r, and _br that look like the textinput and make them fully transparent. That way that part of the full textinput bar will actually be delivered by the backspace button and not the background tiles from the group.
Can this be tested with transparent dummy assets? Feel free to give me a call to resolve this issue...
maybe I'm being dense, but why isn't this just two or three assets: one for the field one for the button down one for the button up
Noah, sure this can be tested with dummy assets. Post them here and I'll give it a shot? Will try to give you a call sometime today (Saturday) to iron this out. Dean, we're employing a bunch of tricks to accomplish one goal, to make it appear like the titlebar actually descends below the textinput bar. At the code level, the textinput bar isn't actually part of the titlebar (and can't be). This makes the asset delivery for this area more complicated than is typical. I had this nailed down for the previous reference of the backspace button appearing as if it was inside the textinput bar, but the new reference has the button taking up all the space at that end. I like the look-and-feel better with this change, but will require some extra work to make it appear correct. The crux is that there are assets at the group widget level as well as the button level. I'll work through this with Noah.
Created attachment 5044 [details] Test assets for _tr, _r, _br (transparent)
Noah and I worked through this on Saturday, and I was able to fix it with some creative skin parameter tweaking. Noah added an update to the asset to make it line up a bit better. I think we're done on this front... r5174,r5175