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: 1005
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
Previous Topic:Make widget transient for tooltip mouseover
Next Topic:Win7 taskbar grouping
Goto Forum:

Current Time: Wed Mar 29 11:22:29 GMT 2017

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

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