Skip to main content



      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 05:47 Go to next message
Eclipse UserFriend
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 08:58 Go to previous messageGo to next message
Eclipse UserFriend
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 13:08 Go to previous message
Eclipse UserFriend
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: Sun Jul 13 13:40:30 EDT 2025

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

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

Back to the top