#4562 HIGH Update.: Long text in palettes not working

Zarro Boogs per Child bugtracker at laptop.org
Mon Jan 7 11:47:46 EST 2008


#4562: Long text in palettes not working
---------------------+------------------------------------------------------
  Reporter:  erikos  |       Owner:  rwh     
      Type:  defect  |      Status:  new     
  Priority:  high    |   Milestone:  Update.2
 Component:  sugar   |     Version:          
Resolution:          |    Keywords:          
  Verified:  0       |    Blocking:          
 Blockedby:          |  
---------------------+------------------------------------------------------

Comment(by Eben):

 But wouldn't it be worse to arbitrarily shorten a string to a great extent
 even when there is enough space to display it, simply because it's small
 text?  I think it's more reasonable to cut a string with a large font size
 down to fewer characters in such cases.

 More importantly, it's quite obvious that a fixed maximum (for size or for
 characters) really defeats the idea of the ellipsis.  This really needs to
 be dynamic.  That means what we really need is a way for the developer to
 specify the width of either a) the container or b) the string object
 itself (I don't know how these are classed).  It's obviously a really hard
 problem to determine the appropriate length to make the string if there
 are no constraints, but by defining a single width constraint we can
 easily cut the string to fit the allotted space.  Furthermore, when the
 allotted space constraint is configurable by the developer, we don't have
 to worry about font size anyway.

-- 
Ticket URL: <http://dev.laptop.org/ticket/4562#comment:16>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list