Sebastian Werner schrieb: > RĂ¼diger Herrmann schrieb: >> Hi, >> >> sorry, but this is again something font-related :( >> >> I saw that there is now a font property on class Widget. Looks great on >> the first sight, but after some investigation - frankly I don't like it. >> >> With inheritance as a generalization to specialization hierarchy, the >> font property is misplaced on Widget. Only five or so classes in the >> hierarchy actually implement the property. On all other widget-derived >> classes it is a no-op. >> >> Having a font property only on those classes that actually know what to >> do with a font would be less confusing. > > Yes sure, > > but this is not combinable with the idea of inheritance, where each > child in the hierachie needs a property.
Also this means that one could not apply a font to a whole group of widgets e.g. a toolbar what could be a typical use case. I really like to have the font property at widget level. Sebastian > > Sebastian > > >> Cheers >> RĂ¼diger >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> qooxdoo-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
