[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [E-devel] Line breaks in Edje



Thanks. Is there a documentation for this? I only found a pdf for
evas_textblock, but I don't know how to use it with Edje (currently, it
shows nothing)


On Sun, 16 Jul 2006 09:36:20 +0900
"David Stevenson" <david.35472@gmail.com> wrote:

> ------=_Part_60958_27283890.1153010180209
> Mime-Version: 1.0
> Content-Type: multipart/alternative;
>  boundary="----=_Part_60958_27283890.1153010180209"
> 
> ------=_Part_60958_27283890.1153010180209
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> Content-Transfer-Encoding: binary
> Content-Disposition: inline
> 
> On 16/07/06, Andrew Sevcsik <sevcsik@citromail.hu> wrote:
> >
> > Hi list.
> >
> > How can I insert a line break to an Edje text part? \n doesn't
> > work... Is there a possibility for automatic line breaks?
> >
> > Thanks,
> >         Sevcsik
> 
> 
> Hi,
> 
> From memory I don't think you can explicitly tell an Edje TEXT part
> where to add a line break, but you can if you use an Edje TEXTBLOCK
> type you can. TEXTBLOCKs can handle various markup tags. In this case
> you would need to use <br> for the link break.
> 
> Take a look in  e17/libs/edje/data/src/e_logo.edc  for TEXT and
> TEXTBLOCK for examples. There are more TEXTBLOCK egs in the main e17
> code too of course.
> 
> Regards!
> David
> 
> ------=_Part_60958_27283890.1153010180209
> Content-Type: text/html; charset=ISO-8859-1
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
> 
> <br><br><div><span class="gmail_quote">On 16/07/06, <b
> class="gmail_sendername">Andrew Sevcsik</b> &lt;<a
> href="mailto:sevcsik@citromail.hu"; target="_blank" onclick="return
> top.js.OpenExtLink(window,event,this)">sevcsik@citromail.hu </a>&gt;
> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px
> solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left:
> 1ex;"> Hi list.<br><br>How can I insert a line break to an Edje text
> part? \n doesn't work...<br>Is there a possibility for automatic line
> breaks?<br><br>Thanks,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sevcsik</blockquote><div><br>Hi,<br><br>From
> memory I don't think you can explicitly tell an Edje TEXT part where
> to add a line break, but you can if you use an Edje TEXTBLOCK type
> you can. TEXTBLOCKs can handle various markup tags. In this case you
> would need to use &lt;br&gt; for the link break. <br><br>Take a look
> in&nbsp; e17/libs/edje/data/src/e_logo.edc&nbsp; for TEXT and
> TEXTBLOCK for examples. There are more TEXTBLOCK egs in the main e17
> code too of course.<br><br>Regards!<br>David<br></div></div>
> 
> ------=_Part_60958_27283890.1153010180209--