[haiku-bugs] Re: [Haiku] #3637: [preferences/FileTypes] menuField text is clipped(easy)

  • From: "pprahul" <trac@xxxxxxxxxxxx>
  • Date: Wed, 09 Dec 2009 17:06:18 -0000

#3637: [preferences/FileTypes] menuField text is clipped(easy)
-----------------------------------+----------------------------------------
 Reporter:  chico                  |       Owner:  axeld         
     Type:  bug                    |      Status:  new           
 Priority:  normal                 |   Milestone:  R1            
Component:  Preferences/FileTypes  |     Version:  R1/Development
 Keywords:                         |   Blockedby:                
 Platform:  All                    |    Blocking:                
-----------------------------------+----------------------------------------

Comment(by pprahul):

 Replying to [comment:2 axeld]:
 > I think the BMenuField must not get larger than it should, and the text
 should be clipped within the menu field accordingly (this should happen
 automatically, though, I'm not sure this works yet).

 Thanks for the input.[[BR]]
 So, does it imply that the text in the BMenuField should be clipped in the
 following way :[[BR]]
 original text : application/x-vnd.Haiku-urlwrapper
 [[BR]]
 new text 1 : application/x-vnd.H...  (ignoring the last part)[[BR]]
 new text 2 : .../x-vnd.Haiku-urlwrapper (ignoring the first part)[[BR]]

 (I think the second one makes more sense, though it is only a personal
 opinion)
 [[BR]]
 And also, is there any method that can be called on this MenuField that
 will do the clipping automatically ?

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/3637#comment:3>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: