brianhill53703 / macwidgets

Automatically exported from code.google.com/p/macwidgets
0 stars 0 forks source link

Text and alignment enhancements for PopdownButton #173

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Attaching a patch to enhance PopdownButton to:

1. Allow button text to be provided
2. Allow choice of right or left alignment (if the size of the popup is wider 
than the button, align to either the left or right edge)

My use case was having a "Help" button right justified on the toolbar that pops 
down a list of help items. It looks ugly if the menu items extend off the edge 
of the window.

Original issue reported on code.google.com by garrick....@gmail.com on 17 Nov 2010 at 7:52

Attachments: