Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Image in Text widget?
Image in Text widget? [message #754474] Wed, 02 November 2011 16:39 Go to next message
Scott Lewis is currently offline Scott LewisFriend
Messages: 1023
Registered: July 2009
Senior Member

I would like to be able to embed a small icon within a text field (e.g. in a wizard or other)...where the icon appears on the left of the text box...and text input happens to the right of the image...e.g:

My field: <icon> <text input>

This isn't the same as a background image (that's behind the entire text box)...rather it's an icon that takes up some space on the left (or optionally, right) of the text box.

Is there some existing instance of such a widget? Or similar examples?


Re: Image in Text widget? [message #755095 is a reply to message #754474] Mon, 07 November 2011 11:17 Go to previous message
Vijay RajFriend
Messages: 608
Registered: July 2009
Senior Member
Try using a StyledText

why, mr. Anderson, why, why do you persist?
Because I Choose To.
Previous Topic:Widget transparency problems. Been stuck for weeks.
Next Topic:Problem in Handling Ole Event
Goto Forum:

Current Time: Fri Apr 20 11:11:34 GMT 2018

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

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