Hi all,
I am having a very strange problem with libGDX tables.
I have a root table (Rtable) and I add another table (table) to it. "table" is basically just a grid of textbuttons each with a letter, like wordsearch games.
I added a listener tot the table which implements touchUp, touchDown and touchDragged methods on the table.
When I use tableR.add(table) - The tables are displayed as expected, but the inputs - touchdragged and touchUp are not processed correctly.
When I use tableR.addActor(table) - Only the top-right 1/4th of the table is displayed in the bottom left corner. Input works perfectly for this 1/4th table that is displayed.
Before using the nested tables, I was using just one table with a grid of textbuttons each with a letter. That was working perfectly - both display and input. But then I wanted to nest this table inside a root table so that I can add other actors on screen to the root table like a timer, list of words etc.
Please help, I am not able to find anything I am doing wrong. I can share the full code if required.
I have a detailed post here :
http://stackoverflow.com/questions/25051438/libgdx-nested-table-display-and-inputI am trying to make a WordSearch game, please let me know if you have come across any opensource/tutorial for that kind of game.
Thanks guys!!