Till Harbaum escribiu: > 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.
Well I don't know if there is a need for such kind of widget, but take into account that Modest has very specific requirements, that forced us (long time ago during Diablo times) to create our custom cell renderers to implement UI designers ideas In the very specific case of Modest you can check out how we did it. Basically we created two cell render containers, ModestHBoxCellRenderer and ModestVBoxCellRenderer, and then we insert some cell renderers into it to create the layout you could see in the messages window. Br _______________________________________________ maemo-developers mailing list [email protected] https://lists.maemo.org/mailman/listinfo/maemo-developers
