[maemo-developers] Moving windows in Maemo
From: Eero Tamminen eero.tamminen at nokia.comDate: Mon Apr 16 15:26:27 EEST 2007
- Previous message: Moving windows in Maemo
- Next message: Moving windows in Maemo
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, ext Sean Luke wrote: >> I'm not talking about user resizes, but calculating the dialog sizes. > > Why is this an issue? It would seem to me that ellipsizing is O(1). > Size as you like, then if you can't fit everything, draw, then erase > back N characters, or a word, and stick in the "...". This is just that string. Before you know what space the string can or should take you need to check the sizes for all the widgets contents, take into account the expand etc. attributes in the co. widget hierarchy etc. >> Did palms or Newtons ellipsize too long strings or were they only >> available in English? :-) > > Can't say about Palms. Newtons did not ellipsize: but generally Newton > windows were movable but did not have resize widgets (not that there was > a prohibition against it). But more importantly, MacOS X does not > ellipsize, so at least in English it's not seen as all that important. > If it's highly costly, why not dump it? The device has a small screen, long strings might not fit into it. What Mac OSX does e.g. when showing filenames or URLs that are, say 500 characters long? - Eero
- Previous message: Moving windows in Maemo
- Next message: Moving windows in Maemo
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]