Ok pull request sent with a patch for the missing preview output and to enable multiline labels by default.  Enabled multiline by default because users seem to struggle to get multiline working unless that feature is told to them.<div>

<br></div><div>- Nathan  <br><br><div class="gmail_quote">On Thu, Oct 27, 2011 at 10:46 PM, Martin Dobias <span dir="ltr">&lt;<a href="mailto:wonder.sk@gmail.com">wonder.sk@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im">On Thu, Oct 27, 2011 at 5:28 AM, Nathan Woodrow &lt;<a href="mailto:madmanwoo@gmail.com">madmanwoo@gmail.com</a>&gt; wrote:<br>
&gt; Thanks Andreas. Glad you like it.<br>
&gt;&gt;&gt; Question 1: the output preview of the label does not seem to work when I<br>
&gt;&gt;&gt; use a field - is there something I need to &gt;&gt;do to enable it? I would expect<br>
&gt;&gt;&gt; it to pull in the first record or some random record to retrieve values?<br>
&gt;<br>
&gt; Ah yes there seems to be a bug with grabbing the first record with some data<br>
&gt; sources.  I get the top feature using layer.featureAt(0) but for some reason<br>
&gt; not all providers return a record at this index.  Writing a patch now.<br>
<br>
</div>That is because not all data providers use ids in interval [0,N-1].<br>
For example, postgres provider uses the column with primary key as ID<br>
- so the values may be arbitrary. It is better to do a select()<br>
followed by just one nextFeature().<br>
<font color="#888888"><br>
Martin<br>
</font></blockquote></div><br></div>