Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » Page length
Page length [message #617407] Wed, 12 August 2009 13:23 Go to next message
Sarvesh  is currently offline Sarvesh Friend
Messages: 10
Registered: August 2009
Junior Member
Hi,

I am creating an application. and I need to create fairly large SWT pages with the help of Visual Editor. So I just created Visual class using Composite. But on the design view when I resized this to length more than 3000 I got an error information that "Control is too large for picture. The picture has been clipped ".
Here's how code looks when I resized on design view.

private void initialize() {
setSize(new Point(474, 3041));
setLayout(new GridLayout());
}

Looks like VE have a restriction on the Figure's length on the Design view.
I have attached screenshot for reference.

Is there any way to increase the size by VE extension mechanism?

Thanks in advance!
Re: Page length [message #617408 is a reply to message #617407] Wed, 12 August 2009 14:32 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

HI,

Sorry, this is a hard-coded restriction. If you try for larger than this
you run into memory restrictions. Images can only be so big, and larger
than that they just can't be made.


Sarvesh wrote:
> Hi,
>
> I am creating an application. and I need to create fairly large SWT
> pages with the help of Visual Editor. So I just created Visual class
> using Composite. But on the design view when I resized this to length
> more than 3000 I got an error information that "Control is too large for
> picture. The picture has been clipped ". Here's how code looks when I
> resized on design view.
> private void initialize() {
> setSize(new Point(474, 3041));
> setLayout(new GridLayout());
> }
>
> Looks like VE have a restriction on the Figure's length on the Design
> view. I have attached screenshot for reference.
>
> Is there any way to increase the size by VE extension mechanism?
>
> Thanks in advance!

--
Thanks,
Rich Kulp
Previous Topic:Design View
Next Topic:components properties pallete
Goto Forum:
  


Current Time: Thu Mar 28 17:42:27 GMT 2024

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

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

Back to the top