Is it possible to change the font and font-size in Richtooltip?

Hiya,
For "RichTooltip" I'd like to change the font and/or font-size is that possible?
Is it possible to change the size of the tooltip box so that it is wider?
Currently my tooltip looks quite ugly:
I tried reading the help but I couldn't find a way to do this using the API for sap.ui.commons.RichTooltip
Thanks in advance!

Hi,
you can use something like this for formatted text.
<script>
            var oTextField = new sap.ui.commons.TextField({
                  valueState : sap.ui.core.ValueState.Error
            }).placeAt("content");
            var sHtml = "The rating specifies the trustworthiness of the account. You can choose between the following values:<br>";
            sHtml += "<ul>";
            sHtml += '<li><strong>A:</strong> <font color="blue", size ="2px" family="Helvetica">Highly trustworthy</font></li>';
            sHtml += "<li><strong>B:</strong> In generel trustworthy but some weak moments</li>";
            var oRttTextField = new sap.ui.commons.RichTooltip({
                  text : sHtml
            oTextField.setTooltip(oRttTextField);
            </script>
      </head>
      <body class="sapUiBody" role="application">
            <div id="content"></div>
      </body>
Refer this link.
RichTooltip - SAPUI5 Demo Kit
Best Regards
Dhananjay

Similar Messages

  • Is it possible to change the CATEGORY TITLE font color and/or size of each tile group in start screen, when the tiles are sorted by CATEGORY?

    TIA.

    Q.  Is it possible to change the CATEGORY TITLE font color and/or size of each tile group in start screen, when the tiles are sorted by CATEGORY?
    A.  No
    Carey Frisch

  • How to change the background and font color of a particular row in table

    Hi,
       i need to change the background and font color of a particular row. I am using textview as table columns. I tried to do it using semanticColor property of textview  but the font color get changed for the whole column. But i want to change the color of a particular row only.
       If anybody knows please help me(give an example if possible).
           Thanks and regards.
            Pankaj Kumar.

    Hi Pankaj,
    In your data source context node (context node which is bound to dataSource property of Table UI elemennt) do following:
    If data source node is model node: create a value node under data source node, cardinality 1..1, selection 1..1, singleton false. In this new node add value attribute and set property readOnly=true, calculated=true, property com.sap.ide.webdynpro.uielementdefinitions.TextViewSemanticColor .
    If datasource node is value add value attribute and set property readOnly=true, calculated=true, property com.sap.ide.webdynpro.uielementdefinitions.TextViewSemanticColor.
    In calculated getter method put your color calculation depending on conditions, like:
    return <condition>
      ? WDTextViewSemanticColor.CRITICAL
      : WDTextViewSemanticColor.STANDARD;
    Bind new created attribute with property semanticColor of textview.
    Best regards, Maksim Rashchynski.

  • Possible to change the front and back speaker volume ?

    Hello, as it says in the topic, i was wondering if it is possible to change the volume of the front and the back speakers (the same way it is possible to change the volume of the center speaker).
    If anyone could tell me wether this is possible at all i would largely appreciate.
    Specs:
    Creative Inspire T5900 speaker system
    Creative SoundBlaster Live! 5.1 Digital
    Windows XP

    The older Mac Pros had a separate board for the front panel connectors. Looking at pictures of the 2009 Mac Pro back-plane board I can't see any soldered on connectors. Based on the link below for an older Mac Pro it looks like it could be as easy as making a cable to replace the front panel board USB cable with one that could connect to a USB PCIe card (when they are available for Macs).
    http://ep.yimg.com/ca/I/lovemacs2113427757506
    Edit: Assuming that there is no additional circuitry on the front panel board that has to be USB3 compliant.
    Edit (again): I missed the fact that USB3 uses a different connector so you would have to replace the entire board with one that has USB3 connectors on it. It is unlikely Apple or even a third party would make one.
    Message was edited by: Martin Pace
    Message was edited by: Martin Pace

  • Is it possible to change the Auto /default font in Illustrator CC?

    I use a lot of templates at work, my issue is that many of them use a version of Myriad* which doesn't seem to be on my computer anymore. I have Myriad pro (with lots of different weights) so it would be good if when I started typing it automatically started typing in a font which isn't faulty. I don't want to remove Myriad* from my computer because I have hundreds of templates which I am gradually updating.
    *this star appears next to the font name, and all the text in the document appears highlighted pink.
    Thanks for any advise!

    bexx,
    To literally change the deafult font, I believe it is still possible to do it using the instructions here:
    Working with the AIPrefs/Adobe Illustrator Prefs file (follow the link with that name).

  • How do I change the pointer and workspace size in InDesign?

    I installed the new 2014 version of InDesign and now my workspace and pointer are huge but the document is normal size.  See pics that show difference from previous version to new.  It is kind of hard to see the difference in these pics, but there is a huge difference and very annoying because the workspace is taking up so much of my screen and giving me less area to work in... 

    Change the font size in the O/S to 124% or less

  • Lego mindstorms: Is it possible to change the fixed user interface size of 1024 x 800 to smaller for use with netbooks?

    I teach at a school that is using netbooks next
    year - the screen size is 1024 x 576 for one model and 1024 x 600 for another model and color quality is 32 bit.  To
    our dismay, when we loaded Lego Mindstorms software to test it, we
    discovered that the user interface is fixed at 1024 x 800, which means
    the control panel at the bottom of the screen is inaccessible on the
    netbooks.  Is there a way to change the  interface size so that we can
    use the software on netbooks?  This is a serious issue for us!  Thanks
    for any help.
    I posted this question in the LabView for Lego Enthusiasts forum, but noticed that nothing new has been posted by the moderator since 2007.  That's why I posted it in an active forum.  Thanks.
    Message Edited by mwert on 03-27-2009 11:33 AM
    Melissa J. Wert
    Technology Integration Specialist
    Harpeth Hall School
    Solved!
    Go to Solution.

    Hi All,
    To echo Dennis Knight and as a FYI for others I refer everyone to KnowledgeBase 44DF7BQ0 How Does National Instruments Support The LEGO® MINDSTORMS® NXT Software And ... 
    Joshua B.
    National Instruments
    NI Services
    NI Support Resources
    NI Training Resources

  • After a Adobe Pro XI update was downloaded (Windows) when creating a Comments Summary the text is now too large and unuaeable, how do I change the style and font size in a comments summary?

    Example of the Comment Summary

    Sabian- We tried the steps you posted on 3 computers and it did not resolve the problem for us.
    All-
    We have been manually reducing the font size in the comment summary (right-click > Edit Text). This makes the text readable, but it doesn't remove all the extra space or fix the flow. This is not ideal.
    Has anyone entered a bug report on this problem? I entered a bug report on another problem about 2 years ago and the problem was never fixed in the product...
    Thanks-
    Stephanie

  • FF v. 4.0.1: Is it possible to change the text and background colours of the menubar please ?

    The menubar (above the tabs) appears as dark grey text on a light grey background - it is very difficult to read !

    You can revert to the Default theme.
    See [[Using themes with Firefox]] and http://kb.mozillazine.org/Themes (Lightweight theme)

  • Can I change different background and font color on each records?

    Hi,
    I had a Data_Block which contains some records, I had a field name 'currency' which contains value such as (HKD, JPY, CNY, CND, USD etc..)
    Let there there are 5 Records contain in that Data_Block and I wanted to change the background and font color depend on the Currency value.
    I were using Set_Item_Property and change the Visual_Attributes that I had define. Well I guess that doesn't work since uisng the Set_Item_Property
    it will actually getting the last value and use that last value and changed to all the same color to that.
    I wonder is there a way to do that in Oracle you can change the field different color?
    Thanks
    David Willis

    Thanks You so much.
    Actually I were trying to look for that function at the User Manual but I couldn't find it because I remembered I had seem it some where.
    I guess I am looking at the Form4.5 user manual instead of the Oracle 9i Forms Developer.
    Thanks
    David

  • Is it possible to change the font size and weight in an ADF table?

    Is it possible to change the font size and weight in an ADF table? I have tried to change the various font size and weight settings for a table and its columns and they seem to have no effect on the font size or weight in a table row.

    You would use skinning to modify font-size & weight for the table.
    In addition to the link suggested by Vinod,
    Take a look at http://biemond.blogspot.com/2009/01/adf-skinning-in-jdeveloper-11g.html
    Thanks,
    Navaneeth

  • Is it possible to change the font style and size of the front panel title?

    Can you change the style and size of the Front Panel Window title?  I seem to have no luck.  I seem to be stuck with only 1 font/style.  I would like to use a superscript for 1 of the letters in the title.  Is this possible?  If it isn't this would be a nice feature to have in the future.  I am using LabVIEW 8.5.1.

    Things like the window title font is a function of Windows - not LV. You can change it globally, but not on a window by window basis.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Is it possible to change the system's default font?

    It is difficult to explain my question, but is it possible to change the system's default font of the script at the top of all windows, and desktop icons? I really think that would add personality to my powerbook. Thanks for any input.

    It is possible, and may be changed using the Terminal if you know the commands. However, the easier way is to use TinkerTool <http://www.bresink.com/osx/TinkerTool.html>.
    Enjoy!
    bd

  • Is it possible to change the font size of the PO terms only in the email?

    Hi all,
    Is it possible to change the font size of the PO terms only?
    We are emailing PO and terms to the Suppliers.
    Is it possible to reduce the font size on terms only so that the file size is smaller and easy to print on the supplier end?
    TIA

    Are we talking out Purchase Order PDFs here.
    If you are mailing PDFs I think you can take a look at the XSL FO Stylesheet which is being used to generate the PDF for a PO.

  • How do I change the color of font in a fillable form in Adobe Reader? How can I check if the writer of the document has given permission to edit color and not just add text?

    How do I change the color of font in a fillable form in Adobe Reader? How can I check if the writer of the document has given permission to edit color and not just add text? Please help! I'm technologically challenged.

    Most forms (99% or more) are created for simple text input, where you cannot change anything.
    The creator of the form could allow Rich Text input (which allows you to change font, text size, color, etc.), but frankly I have never seen such a form, and I wouldn't know how they look.  But I'm sure they would show some kind of controls to alter the text appearance.

Maybe you are looking for