[Gambas-user] TextLabel vs TextEdit

Benoît Minisini gambas at ...1...
Thu Sep 23 21:36:08 CEST 2010


> Gambas3
> If I understand the dokumentation right, TextLabel and TextEdit should both
> display rich-text.
> 
> I want to display a list of file properties that come from a SHELL command.
> 
> If I use a TextLabel, it looks fine:
> File Name	004.jpg
> File Size	5.0 MB
> ...
> 
> But if I use TextEdit (would be more comfortable because of scrollbars), I
> get: <tr><td>File Name</td><td>004.jpg</td></tr>
> <tr><td>File Size</td><td>5.0 MB</td></tr>
> ...
> which is not nice to read.
> 
> Bug or feature, or my misunderstanding?
> Regards
> Matti
> 

Qt 4 has some support for tables in rich text. But it is not supported by 
Gambas. See the wiki documentation about rich text to know which tags are 
supported.

Regards,

-- 
Benoît Minisini




More information about the User mailing list