sketchucation logo sketchucation
    • Login
    โ„น๏ธ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    ToolTip and help line ?

    Scheduled Pinned Locked Moved Developers' Forum
    16 Posts 6 Posters 518 Views 6 Watching
    Loading More Posts
    • 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.
    • TIGT Offline
      TIG Moderator
      last edited by

      Have you tried ""123\n456" - with the \n as a line break ? [or perhaps \n ?] I haven't, and I have no access to try it at the moment...

      TIG

      1 Reply Last reply Reply Quote 0
      • Didier BurD Offline
        Didier Bur
        last edited by

        Hi,
        \n displays a white square between the characters, and \n displays \n ๐Ÿ‘Ž
        It seems tooltips are not handled exactly like usual stings.

        DB

        1 Reply Last reply Reply Quote 0
        • pilouP Offline
          pilou
          last edited by

          Thx I suppose that is a limitation of Windows system?

          Frenchy Pilou
          Is beautiful that please without concept!
          My Little site :)

          1 Reply Last reply Reply Quote 0
          • thomthomT Offline
            thomthom
            last edited by

            I think it's the nature of Window's tooltips. By default they are single line only if I'm not mistaken. Think they have to be subclassed to handle multilines.

            Thomas Thomassen โ€” SketchUp Monkey & Coding addict
            List of my plugins and link to the CookieWare fund

            1 Reply Last reply Reply Quote 0
            • Chris FullmerC Offline
              Chris Fullmer
              last edited by

              Try a carriage return plus a line feed like this:

              \r\n

              That should do it,

              Chris

              Lately you've been tan, suspicious for the winter.
              All my Plugins I've written

              1 Reply Last reply Reply Quote 0
              • Chris FullmerC Offline
                Chris Fullmer
                last edited by

                Pilou, did you get a chance to try it yet?

                Lately you've been tan, suspicious for the winter.
                All my Plugins I've written

                1 Reply Last reply Reply Quote 0
                • GaieusG Offline
                  Gaieus
                  last edited by

                  Pilou, you are using slashes: / instead of backslashes: \

                  Gai...

                  1 Reply Last reply Reply Quote 0
                  • pilouP Offline
                    pilou
                    last edited by

                    Seems don't works ๐Ÿ˜‰
                    But I am not coder I have just the file for translate but seems not works ๐Ÿ˜ž

                    Another thing there were also a vicious thing with the apostrophe "'" (very numerous in French) so must put "'"

                    but don't works also with /r/n ๐Ÿ˜‰


                    tooltip 2.jpg

                    Frenchy Pilou
                    Is beautiful that please without concept!
                    My Little site :)

                    1 Reply Last reply Reply Quote 0
                    • pilouP Offline
                      pilou
                      last edited by

                      Yes but same result! ๐Ÿ˜‰
                      I have aloso try \r\n but not works again ๐Ÿ˜„


                      tootip2.jpg

                      Frenchy Pilou
                      Is beautiful that please without concept!
                      My Little site :)

                      1 Reply Last reply Reply Quote 0
                      • Chris FullmerC Offline
                        Chris Fullmer
                        last edited by

                        I see my error. I tested it quickly this morning, but I tested it in the tooltip that displays when you are in the model, like hovering over geometry.

                        I just tested it on a toolbar icon tooltip, and it does not work there. So I guess they sabotaged it on purpose ๐Ÿ˜ž

                        Chris

                        Lately you've been tan, suspicious for the winter.
                        All my Plugins I've written

                        1 Reply Last reply Reply Quote 0
                        • Chris FullmerC Offline
                          Chris Fullmer
                          last edited by

                          Here is a test code using long text and the \r\n to get to a new line. Install the plugin, and run the ++Big Tooltip++ plugin in the plugins menu. Then hover the mouse in the model space. It will bring up a huge tooltip. Just delete when you're done, its useless as an SU tool ๐Ÿ˜„

                          EDIT: or here's an image so you don't have to mess with the ruby plugin:

                          bigtooltip.png

                          Chris


                          big tooltip.rb

                          Lately you've been tan, suspicious for the winter.
                          All my Plugins I've written

                          1 Reply Last reply Reply Quote 0
                          • GaieusG Offline
                            Gaieus
                            last edited by

                            @unknownuser said:

                            "I wonder if someone has done a study..."

                            You are doing your masters, Chris, aren't you? How about a thesis on this particularly hot topic?
                            ๐Ÿ˜„

                            Gai...

                            1 Reply Last reply Reply Quote 0
                            • pilouP Offline
                              pilou
                              last edited by

                              So if i good understand, it's for the coder and not for the translator ๐Ÿ˜‰
                              Bravo for the result !
                              So it's possible โ˜€

                              Frenchy Pilou
                              Is beautiful that please without concept!
                              My Little site :)

                              1 Reply Last reply Reply Quote 0
                              • Chris FullmerC Offline
                                Chris Fullmer
                                last edited by

                                @Gai, yeah, I tihnk your right. Maybe I'll drop my current project and switch over to that. Final presentations are on Monday, I could probably re-write my entire thesis by then ๐Ÿ˜†

                                @Pilou, well its not really about the coder or the translator exactly. What I'm saying is that the tooltip that pops up in the model space works great with large amount of text. Unfortunately, the tooltip for the icons themselves seem to be written differently. No one, translator or coder, can get more than 1 line (at least, as far as we currently know. Perhaps Scott will stop by with a magic line break that works in the toolbar tooltips).

                                Sorry, I thought I had the solution.

                                Chris

                                Lately you've been tan, suspicious for the winter.
                                All my Plugins I've written

                                1 Reply Last reply Reply Quote 0
                                • pilouP Offline
                                  pilou
                                  last edited by

                                  Oh! ๐Ÿ˜ฎ Deception ๐Ÿ˜‰
                                  So translator must be very brief โ—

                                  Frenchy Pilou
                                  Is beautiful that please without concept!
                                  My Little site :)

                                  1 Reply Last reply Reply Quote 0
                                  • 1 / 1
                                  • First post
                                    Last post
                                  Buy SketchPlus
                                  Buy SUbD
                                  Buy WrapR
                                  Buy eBook
                                  Buy Modelur
                                  Buy Vertex Tools
                                  Buy SketchCuisine
                                  Buy FormFonts

                                  Advertisement