escoz/QuickDialog — Issue #42: cell height not calculated properly for a QTextElement initialized from a JSON file 
Author: florinpatrascu
Created: 2012-01-06 02:16:48+00:00
State: open

Hi,

I am loading a dialog from a JSON file, example:

````json
"elements":[
{
"type":"QTextElement",
"text":"Lorem ipsum dolor sit amet, ....."
},
..
````

In the example above the 'text' attribute contains a large enough text to fill up 3, 4 'rows' in a cell. Actually it's working great if the QTextElement is initialized with text from the code using - initWithText:, but it's displayed truncated and on a single row when loaded from JSON. Unless this is a bug, is there a method I could use to force the height of the cell?

Many thanks,
-florin