[fxruby-users] FXShutterItem Button Icon
cribbsj at oakwood.org
Wed Mar 2 09:00:34 EST 2005
Lyle Johnson wrote:
> As Jeroen said in his response, this should work. I just took the
> shutter.rb example program included with FXRuby and added a few lines
> right after it creates the first shutter item:
> shutterItem = ShutterItem.new(@shutter, "Lookout Shortcuts", nil,
> shutterItem.button.icon = redMacOS # <----- Added this
> shutterItem.button.iconPosition = TEXT_BELOW_ICON # <----- Added this
Thanks Jeroen and Lyle for your responses. I used the iconPosition
attribute of FXButton and it worked fine.
What I was trying to use before was the buttonStyle attribute of
FXButton and passing it TEXT_BELOW_ICON and that wasn't working.
Confidentiality Notice: This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and/or privileged information. If you are not the intended recipient(s), you are hereby notified that any dissemination, unauthorized review, use, disclosure or distribution of this email and any materials contained in any attachments is prohibited. If you receive this message in error, or are not the intended recipient(s), please immediately notify the sender by email and destroy all copies of the original message, including attachments.
More information about the fxruby-users