Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 340225 - tooltip shows a lot of blank space
Summary: tooltip shows a lot of blank space
Status: CLOSED FIXED
Alias: None
Product: MPC
Classification: Technology
Component: wizard (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Benjamin Muskalla CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-16 15:22 EDT by Steffen Pingel CLA
Modified: 2019-02-11 09:44 EST (History)
3 users (show)

See Also:


Attachments
screenshot (10.39 KB, image/png)
2011-03-16 15:23 EDT, Steffen Pingel CLA
no flags Details
Compute size ot icon + label and use it as a horizontal hint for description layout (1.60 KB, application/octet-stream)
2017-09-15 07:43 EDT, Philippe Noel CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steffen Pingel CLA 2011-03-16 15:22:52 EDT
On Gtk the tooltip shows some blank space (see screenshot). Looks like this could be fixed by making it less tall.
Comment 1 Steffen Pingel CLA 2011-03-16 15:23:18 EDT
Created attachment 191340 [details]
screenshot
Comment 2 Benjamin Muskalla CLA 2011-04-27 09:14:28 EDT
Problem here is the GridLayout with it's width hint. The gridlayout then doesn't compute the right height for the description label.

Steffen, anything that comes to your mind how we could tackle this?
Comment 3 Steffen Pingel CLA 2011-05-06 10:36:59 EDT
Have you tried using a TableWrapLayout? That usually works better with controls that wrap text.
Comment 4 Eclipse Genie CLA 2017-09-15 06:07:31 EDT
New Gerrit change created: https://git.eclipse.org/r/105196
Comment 5 Philippe Noel CLA 2017-09-15 07:43:38 EDT
Created attachment 270220 [details]
Compute size ot icon + label and use it as a horizontal hint for description layout

Tried to submit it as a gerrit, but test are failing (with or without my patch)
Comment 7 Carsten Reckord CLA 2019-02-11 09:44:26 EST
This was fixed a while ago.