Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to add "new line" to tool tip?
Forum Updated to NodeBB v4.3 + New Features

How to add "new line" to tool tip?

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 1.5k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Anonymous_Banned275
    wrote on 19 Dec 2022, 15:11 last edited by
    #1

    I have added "\n" and ended up with "\n" , but no "new line " in tool tip.

    6ffc9b41-258f-4fc6-a7e8-983d1d30d280-image.png

    1 Reply Last reply
    0
    • E Offline
      E Offline
      Emre MUTLU
      wrote on 19 Dec 2022, 15:15 last edited by Emre MUTLU
      #2

      you added double"\" in tooltip

      1 Reply Last reply
      0
      • C Offline
        C Offline
        Chris Kawa
        Lifetime Qt Champion
        wrote on 19 Dec 2022, 15:39 last edited by
        #3

        If you use a plain text then simply Remote bluetooth devices\nRed - not paired\nGreen - paired
        If you use html (like you do in the picture), then use html - either explicit line break <br> or put each line in separate paragraph <p></p>.

        1 Reply Last reply
        2

        1/3

        19 Dec 2022, 15:11

        • Login

        • Login or register to search.
        1 out of 3
        • First post
          1/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved