[maemo-developers] Second text row in treeview entry (like HildonButton)

From: Till Harbaum lists at harbaum.org
Date: Wed Aug 12 11:20:38 EEST 2009
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20090812/23cc8f66/attachment.htm 
-------------- next part --------------
Hi,

one thing the fremantle gui developers seem to love are those "subtitles" (second text line) 
for widgets. The hildonbutton has it built-in and you can use it by just setting the value 
property. Nice!

But at other places this doesn't seem to be integrated nicely. E.g. many programs use
something similar in their treeviews. E.g. modest does this in the header list, the app
mananger in the package list, the file manager in the file list. I have two major
problems with the way this currently works:

- Everybody seems to implement this on his own. There doesn't seem to be a generic
widget for this (why doesn't the hildon port of the text cell renderer support this like 
hildonbutton does?). And a developer wanting to do a similar style is facing a rather
complex and bascially undocumented and uncommented modest source code. 

- These widgets look similar, but not identical. E.g. in the file manager the "subtitles"
use a bigger font than in modest. Also the colors don't seem to match.

I am sure it's to late to ask for a standardized widget. Therefore i ask for a simple
example how a developer is supposed to achieve the same effect in his application.
I am sure it would be a great benefit for the platform if such things would be 
documented with examples so the overall style on the plattform looks the same
in all programs.

I'd like to use this feature in osm2go, but i am giving up reading the modest source
code in order to figure out how to achieve that effect ... 

TIll
More information about the maemo-developers mailing list