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 #591274] 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:SWT Buttons with image and Text
Next Topic:Backwards text bug in editor?
Goto Forum:
  


Current Time: Wed Apr 24 16:59:31 GMT 2024

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

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

Back to the top