Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 340225

Summary: tooltip shows a lot of blank space
Product: [Technology] MPC Reporter: Steffen Pingel <steffen.pingel>
Component: wizardAssignee: Benjamin Muskalla <b.muskalla>
Status: CLOSED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: b.muskalla, philippe.noel, reckord
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
See Also: https://git.eclipse.org/r/105196
https://git.eclipse.org/c/mpc/org.eclipse.epp.mpc.git/commit/?id=e924f41e575831a91d94e54ee4dee40189b0450f
Whiteboard:
Attachments:
Description Flags
screenshot
none
Compute size ot icon + label and use it as a horizontal hint for description layout none

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.