Skip to main content



      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
Eclipse UserFriend
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
Eclipse UserFriend
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
Eclipse UserFriend
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 Jul 22 19:28:47 EDT 2025

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

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

Back to the top