Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Image problems
Image problems [message #73757] Wed, 13 February 2008 22:07 Go to next message
Eclipse UserFriend
Originally posted by: allen_liu.i-len.com

Dear all:
I have two questions.
first:I wanna set image for toolItem in RAP.But it will show the border of
toolitem when I moved the mouse on the toolitem,I don't
want this effect,I wanna keep it unchanged. can everyone tell me how to
implement this function?

second: I wanna set backgroud image for composite container or ToolBar
container, But Rap doesn't provide this method for us,
can everyone give ideas for me to solute this problem?
Thanks

best wishes

alle_liu

2008-02-14
Re: Image problems [message #73810 is a reply to message #73757] Thu, 14 February 2008 02:50 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: fappel.innoopract.com

Hi,

did you try to avoid the border of the toolItem using a different theme
definition?

As RWT-widgets provide a subset implementation of SWT, we are restricted
to that API and there is no possibility to set a background image
directly to the toolbar or composite. However we are currently working
on an improvement of the situation by enhancement of the theming
mechanism.


Ciao
Frank


-----Ursprüngliche Nachricht-----
Von: allen_liu [mailto:allen_liu@i-len.com]
Bereitgestellt: Donnerstag, 14. Februar 2008 04:08
Bereitgestellt in: eclipse.technology.rap
Unterhaltung: Image problems
Betreff: Image problems


Dear all:
I have two questions.
first:I wanna set image for toolItem in RAP.But it will show the border
of toolitem when I moved the mouse on the toolitem,I don't want this
effect,I wanna keep it unchanged. can everyone tell me how to implement
this function?

second: I wanna set backgroud image for composite container or ToolBar
container, But Rap doesn't provide this method for us, can everyone give
ideas for me to solute this problem?
Thanks

best wishes

alle_liu

2008-02-14
Re: Image problems [message #74113 is a reply to message #73810] Thu, 14 February 2008 21:04 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: allen_liu.i-len.com

Hi Frank:
Thanks for you ideas,I don't know how to set style which doesn't display
the border of toolitem in theme properties file. I have written these code
in theme properties file:
" toolitem.border:none", but it doesn't work.Does Rap provide style
setting for toolitem?
Re: Image problems [message #74167 is a reply to message #74113] Fri, 15 February 2008 23:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rsternberg.innoopract.com

Hi Allen,

allen_liu wrote:
> ...
> " toolitem.border:none", but it doesn't work.Does Rap provide style
> setting for toolitem?

Currently, only foreground and background colors can be changed for toolbars
and toolitems. We hope to extend this soon. Feel free to open a bug to
track changes.

Cheers, Ralf
Re: Image problems [message #74185 is a reply to message #74167] Sun, 17 February 2008 23:14 Go to previous message
Eclipse UserFriend
Originally posted by: allen_liu.i-len.com

Hi:
Thanks for your ideas.I wanna only implement this function which toolitem
doesn't show the border while the mouse moved on.it's no change that's i
want .I try it on the theme property file . but i can't accompany this.
can everyone help me to solute this problem?

thanks ..
best regards


allen_liu 2008-02-18
Previous Topic:Problem with Session Singleton
Next Topic:MenuItem with CHECK style reacts on right mouse click but does not fire SelectionEvent
Goto Forum:
  


Current Time: Sat May 31 04:47:04 EDT 2025

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

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

Back to the top