Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Technology Project and PMC » SWT Buttons with image and Text
SWT Buttons with image and Text [message #48121] Wed, 05 March 2003 15:34
Eclipse UserFriend
Originally posted by: fcatrin.tuxpan.cl

Hi!

I'm facing a problem with SWT Buttons. I've seen that most SWT controls
supports images and text at the same time (tabs, menus, tables, etc). But
Button's don't.

I'm focusing on Win32 and Linux/GTK platform, and I know that GTK have a
native Button widget with image and label at the same time, so I looked
into SWT source code and I saw that the code disables the image when you
insert a text and viceversa.

Is this a multiplatform restriction? Is this valid in the win32 platform
also?

I thought about a style setting about avoiding this SWT/GTK behaviour, but
I don't know what the other i mplementations do.

A good option could be this: if the native widget supports both image and
text at the same time, then show them. If the native widget doesn't
support them, give priority to the last property set.

--
Franco Catrin L.
TUXPAN
Previous Topic:What happened to "Add to surrounding catch block"?
Next Topic:SWT Buttons with image and Text
Goto Forum:
  


Current Time: Tue Apr 23 10:20:09 GMT 2024

Powered by FUDForum. Page generated in 0.02789 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top