Issue 86563

Summary: Multiline tooltips for dialog elements
Product: App Dev Reporter: tobiaskrais <tux-spam>
Component: apiAssignee: AOO issues mailing list <issues>
Status: UNCONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P4 CC: issues
Version: 3.3.0 or older (OOo)   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Latest Confirmation in: ---
Developer Difficulty: ---

Description tobiaskrais 2008-02-29 09:23:10 UTC
Hi together,

I tried to create multiline tooltips for dialog elements in Java. I can
only create single line dialogs:
-----%<-----
Object inputModel03 = 	    		
	xMSF.createInstance("com.sun.star.awt.UnoControlEditModel");
XPropertySet xPSetInput03 = (XPropertySet) UnoRuntime.queryInterface(
	XPropertySet.class, inputModel03);
xPSetInput03.setPropertyValue("PositionX", new Integer(160));
xPSetInput03.setPropertyValue("PositionY", positionY - 2);
xPSetInput03.setPropertyValue("Width", new Integer(60));
xPSetInput03.setPropertyValue("Height", new Integer(14));
xPSetInput03.setPropertyValue("HelpText", "Hello World");
xPSetInput03.setPropertyValue("Name", "Hello");
-----%<-----
Is there a possibility to create multiline dialogs? I tried \n within
the HelpText string, but it did not work. In some cases I would like to add more
information to a tooltip. But this more information generates an extreme long
tooltip that looks very bad.

Greetings, Tobias
Comment 1 jsc 2008-03-18 15:23:43 UTC
jsc -> cd: can you help