Skip to main content


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 19:38 Go to next message
Antonio Gurisatti is currently offline Antonio GurisattiFriend
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 13:10 Go to previous messageGo to next message
Antonio Gurisatti is currently offline Antonio GurisattiFriend
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] Sat, 13 February 2010 00:10 Go to previous message
Hemant Singh is currently offline Hemant SinghFriend
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: Tue Mar 19 10:37:58 GMT 2024

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

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

Back to the top