Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How to resize a SourceViewer inside a Dialog?
How to resize a SourceViewer inside a Dialog? [message #449032] Mon, 08 May 2006 15:38 Go to next message
Antonio Gurisatti is currently offline Antonio Gurisatti
Messages: 109
Registered: July 2009
Senior Member
I have a SourceViewer (org.eclipse.jface.text.source) in a Dialog.

How can I set its size?? I couldn't find out.

Among other things, I tried using

gridData.widthHint = convertHeightInCharsToPixels(40);
gridData.heightHint = convertHeightInCharsToPixels(30);
mySourceViewer.getTextWidget().setLayoutData(gridData);

with no results.

Thanks a lot

AG
Re: How to resize a SourceViewer inside a Dialog? [message #449250 is a reply to message #449032] Thu, 11 May 2006 09:10 Go to previous messageGo to next message
Antonio Gurisatti is currently offline Antonio Gurisatti
Messages: 109
Registered: July 2009
Senior Member
Hi,

No one for this one?

Im missing Paul Webster, Alex Blewitt, Rohit Khariwal and some other gurus. Are they at holidays?

Please, I'd appreciate very much some light in the subject.

Thanks a lot
Re: How to resize a SourceViewer inside a Dialog? [message #514244 is a reply to message #449250] Fri, 12 February 2010 19:10 Go to previous message
Hemant Singh is currently offline Hemant Singh
Messages: 24
Registered: January 2010
Junior Member
Antonio,

I seems to have same issue, did you found any solution for your problem yet?
Previous Topic:EditorPart.doSaveAs() for native file system or workspace
Next Topic:IDE without projects and workspace
Goto Forum:
  


Current Time: Mon Jul 28 06:22:18 EDT 2014

Powered by FUDForum. Page generated in 0.02394 seconds