Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Customize Widget-Tooltip(how to customize a tooltip)
Customize Widget-Tooltip [message #892708] Fri, 29 June 2012 09:47 Go to next message
David Casas is currently offline David CasasFriend
Messages: 58
Registered: November 2011
Location: Barcelona
Member

Hi guys,

I wanted to know if it is possible to do something like
Widget-ToolTip{
background-image: gradient(
    linear, left top, left bottom,
    from( #f6f08f),
    color-stop( 30%, #fff550 ),
    color-stop( 60%, #f9ed2d ),
    to( #f2e500 )
  );
	opacity: 0.9;
	animation: fadeIn 100ms linear, fadeOut 300ms ease-out;
  	border: none;
  	border-radius: 10px;
  font: bold 13px "Californian FB", Verdana, "Lucida Sans", Arial, Helvetica, sans-serif;
}

Widget-ToolTip.twitter{
	opacity: 0.9;
	animation: fadeIn 200ms linear, fadeOut 400ms ease-out;
  	border: 1px solid #000000;
  	border-radius: 10px;
  font: bold 12px "[z] Arista", "Californian FB", Verdana, "Lucida Sans", Arial, Helvetica, sans-serif;
}


in order to customize the tooltip with the owner widget. I have been trying and I haven't seen any possibility... is there any?

Thank you in advance
Re: Customize Widget-Tooltip [message #893063 is a reply to message #892708] Mon, 02 July 2012 12:58 Go to previous messageGo to next message
Tim Buschtoens is currently offline Tim BuschtoensFriend
Messages: 396
Registered: July 2009
Senior Member
Hi.

If i understand correctly, you want to have a custom variant on a
widgets tooltip to style it differently. This is currently not possible.
You could either try using the tooltip widget
(org.eclipse.swt.widgets.ToolTip), or open an enhancement request on our
bugzilla.

Greetings,
Tim

Am 29.06.2012 11:47, schrieb David Casas:
> Hi guys,
>
> I wanted to know if it is possible to do something like
> Widget-ToolTip{
> background-image: gradient(
> linear, left top, left bottom,
> from( #f6f08f),
> color-stop( 30%, #fff550 ),
> color-stop( 60%, #f9ed2d ),
> to( #f2e500 )
> );
> opacity: 0.9;
> animation: fadeIn 100ms linear, fadeOut 300ms ease-out;
> border: none;
> border-radius: 10px;
> font: bold 13px "Californian FB", Verdana, "Lucida Sans", Arial,
> Helvetica, sans-serif;
> }
>
> Widget-ToolTip.twitter{
> opacity: 0.9;
> animation: fadeIn 200ms linear, fadeOut 400ms ease-out;
> border: 1px solid #000000;
> border-radius: 10px;
> font: bold 12px "[z] Arista", "Californian FB", Verdana, "Lucida
> Sans", Arial, Helvetica, sans-serif;
> }
>
>
> in order to customize the tooltip with the owner widget. I have been
> trying and I haven't seen any possibility... is there any?
>
> Thank you in advance

--
Tim Buschtöns

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Customize Widget-Tooltip [message #893580 is a reply to message #893063] Wed, 04 July 2012 17:08 Go to previous message
David Casas is currently offline David CasasFriend
Messages: 58
Registered: November 2011
Location: Barcelona
Member

Oks thank you for your reply. At the moment I will use just one style.

Thanks a lot
Previous Topic:Experiences with RAP
Next Topic:file dialog and firefox
Goto Forum:
  


Current Time: Tue Oct 26 16:20:48 GMT 2021

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

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

Back to the top