Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » ContentProposalAdapter popup to show on top of textbox
ContentProposalAdapter popup to show on top of textbox [message #1716005] Mon, 30 November 2015 12:13 Go to next message
yev xxxxx is currently offline yev xxxxxFriend
Messages: 17
Registered: July 2014
Junior Member
I have a multi line textbox with attached, content proposal .

ContentProposalAdapter adapter = new ContentProposalAdapter(textBoxControl,    new TextContentAdapter(),   new MyContentProposalProvider(), keyStroke, null);	
	     adapter.setProposalAcceptanceStyle(ContentProposalAdapter.PROPOSAL_IGNORE);	
     
adapter.addContentProposalListener(new MyContentProposalListener());


The problem is that the popup with the suggestions , displayed bellow the text box and not on top of it (hover).
As seen on attached screen.

index.php/fa/24108/0/

How can I make it to hover ontop of the textbox?
  • Attachment: Untitled.png
    (Size: 26.79KB, Downloaded 265 times)

[Updated on: Tue, 01 December 2015 07:31]

Report message to a moderator

Re: ContentProposalAdapter popup to show on top of textbox [message #1716082 is a reply to message #1716005] Tue, 01 December 2015 07:29 Go to previous message
yev xxxxx is currently offline yev xxxxxFriend
Messages: 17
Registered: July 2014
Junior Member
The issue is coming from

adapter.setProposalAcceptanceStyle(ContentProposalAdapter.PROPOSAL_IGNORE);

When I set it to

adapter.setProposalAcceptanceStyle(ContentProposalAdapter.PROPOSAL_INSERT);


the popup is displayed on top of the text box, but insert is not good for me.
Previous Topic:ComboViewer color change issue
Next Topic:Table using ColumnWeightData not resizing correctely
Goto Forum:
  


Current Time: Mon Sep 24 11:48:05 GMT 2018

Powered by FUDForum. Page generated in 0.01694 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top