Skip to main content



      Home
Home » Eclipse Projects » Nebula » position of image
position of image [message #54678] Thu, 19 June 2008 01:33 Go to next message
Eclipse UserFriend
hi!

I've downloaded the PShelfSnippet1 and added some images to the shelf
items.
It works fine! Really cool widget. :)

Unfortunately the image keeps on the right side, no matter if the item is
selected or not, but I would like to position the image to right while the
item is selected, as the left screenshot at
(http://www.eclipse.org/nebula/widgets/pshelf/pshelf.php).
Further I'd like to highlight the font and make it bigger, as it is also
done in the above mentioned screenshot.

Any help is appreciated!

Regards,
Amro
Re: position of image [message #54723 is a reply to message #54678] Thu, 19 June 2008 01:48 Go to previous messageGo to next message
Eclipse UserFriend
sorry! I've forgot to mention.
The text is always put directly behind the image. That means in my case
always right to the image. However I'd like to put it if not selected in
the right corner END, and if selected left, BEGINNING.

Thanks in advance!
Amro
Re: position of image [message #54924 is a reply to message #54723] Wed, 25 June 2008 04:58 Go to previous message
Eclipse UserFriend
Ok, the highlighting I could figure out in the meanwhile.
I use the RedmondShelfRenderer.
However now I don't want that the renderer background color, affects the
backgorund color of the items which are not selected.

Any ideas?
Re: position of image [message #590535 is a reply to message #54678] Thu, 19 June 2008 01:48 Go to previous message
Eclipse UserFriend
sorry! I've forgot to mention.
The text is always put directly behind the image. That means in my case
always right to the image. However I'd like to put it if not selected in
the right corner END, and if selected left, BEGINNING.

Thanks in advance!
Amro
Re: position of image [message #590637 is a reply to message #54723] Wed, 25 June 2008 04:58 Go to previous message
Eclipse UserFriend
Ok, the highlighting I could figure out in the meanwhile.
I use the RedmondShelfRenderer.
However now I don't want that the renderer background color, affects the
backgorund color of the items which are not selected.

Any ideas?
Previous Topic:Memory leak during GalleryTreeViewer.refresh() method?
Next Topic:Grid - Double Click on RowHeader
Goto Forum:
  


Current Time: Tue May 20 15:43:37 EDT 2025

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

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

Back to the top