Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Always keep tooltips on the screen

    At the moment if you have a ListGrid that takes up the full screen width, any hovers on the right will pop up past the edge of the page (adding a horizontal scrollbar to the browser window) so you can't read them.

    It would be good if the tooltips were positioned like other UIs so that they are always completely visible, even if it means popping up to the left of the mouse cursor instead of to the right of it.

    #2
    They are. Show a standalone test case if you can find a way to have them placed offscreen.

    Comment


      #3
      Here is a standalone example. Upon closer investigation the text is not put off screen but the tooltip itself goes past the edge of the screen causing a scrollbar to appear and disappear. Because the text aligns with the edge of the screen it's difficult to tell whether the text is cut off or not if you're unfamiliar with the content.

      You'll need to adjust the width so it's close to the width of your browser without causing a horizontal scrollbar to appear.

      Code:
      isc.ListGrid.create({
      	width: '1050px',
      	autoDraw: true,
      	hoverWidth: 200,
      	fields: [{
      		name: 'test',
      		title: 'Test',
      		type: 'text',
      		width: '*',
      		showHover: true,
      		hoverHTML: function() { return 'This is a test.  Testing testing 123.'; }
      	}],
      	data: [{test: 123}]
      });

      Comment


        #4
        In what version and what skin and browser are you seeing this? From a quick check, this is not a problem in trunk.

        Comment


          #5
          This is SmartClient Version: 7.0rc2 (built 2009-05-30) with the Enterprise skin.

          It's a problem under Firefox 3.6, I tested with:

          Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2) Gecko/20100201 Gentoo Firefox/3.6
          Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6

          However I just tested it in IE8 and it does indeed work correctly there, the entire tooltip is kept within the current page boundaries.

          Comment


            #6
            The beginning is the most important part of the work.Are you looking for a few easy steps to make money online? Maybe I must ask, if it really does take a few easy steps to making money on the internet With all the hundreds of different ways to work at home on the internet**one can easily find yourself trapped in an overload of information which brings you to a point of confusion or indecisiveness .
            Last edited by maggy; 20 May 2010, 23:41.

            Comment

            Working...
            X