Skip to main content



      Home
Home » Archived » Visual Editor (VE) » Page length
Page length [message #617407] Wed, 12 August 2009 09:23 Go to next message
Eclipse UserFriend
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 10: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: Fri May 16 21:49:42 EDT 2025

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

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

Back to the top