uniform size buttons
I'm wondering if there is an easier way to get uniform size buttons and
still define the buttons individually in the :panes section of the
interface. What I would like to have is:
....
(:panes
(new
push-button
:text "New")
(open
push-button
:text "Open"))
(:layouts
(buttons column-layout '(new open) :x-uniform-size-p t))
....
But the buttons are not uniform size. The only way I have found to do
this is to create a button-panel in the :panes section:
(buttons
push-button-panel
:items (list "New" "Open")
:layout-args '(:x-uniform-size-p t)
:layout-class 'column-layout)
But with this approach I could not find a documented way to get access
to the button instances (I need to enable/disable buttons based on the
state of other interface elements).
Thanks for any suggestions.
John DeSoi, Ph.D.