play-co / timestep

GNU General Public License v3.0
16 stars 27 forks source link

Button in GridView does not reflow text properly #93

Open thomaslsimpson opened 8 years ago

thomaslsimpson commented 8 years ago

When I create a gridview, add a button using the normal col and row parameters, the button appears correctly. But if there is a Title used, the textview inside the button is not refigured correctly.

If after adding the button I do:

gridview.reflow(); // not sure if this is required 
buttonview._reflowText= true;
buttonview.reflow();

... it works properly. (I don't have time to look into a fix in the actual code. I'll try to get back to it later.)