Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » Design View
Design View [message #479770] 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!

[Updated on: Wed, 12 August 2009 13:35]

Report message to a moderator

Re: Page length [message #479796 is a reply to message #479770] Wed, 12 August 2009 14:32 Go to previous messageGo to next 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
Re: Page length [message #480216 is a reply to message #479796] Fri, 14 August 2009 12:13 Go to previous messageGo to next message
Sarvesh  is currently offline Sarvesh Friend
Messages: 10
Registered: August 2009
Junior Member
Thanks for reply!

can't we just compromise by increasing memory size or anything at run time?

would you be so kind to expose about the restrictions. Where is the restriction imposed? if I could override the Editor Edit part or Graphical Edit part of Widget to increase the size by 400 to 500?

Thank you so much!
-Sarvesh
Re: Page length [message #480230 is a reply to message #480216] Fri, 14 August 2009 13:23 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Hi,

It was actually an OS limit. It didn't allow bitmaps much larger than that.

Sarvesh wrote:
> Thanks for reply!
>
> can't we just compromise by increasing memory size or anything at run time?
>
> would you be so kind to expose about the restrictions. Where is the
> restriction imposed? if I could override the Editor Edit part or
> Graphical Edit part of Widget to increase the size by 400 to 500?
>
> Thank you so much!
> -Sarvesh
>

--
Thanks,
Rich Kulp
Re: Page length [message #617410 is a reply to message #479796] Fri, 14 August 2009 12:13 Go to previous message
Sarvesh  is currently offline Sarvesh Friend
Messages: 10
Registered: August 2009
Junior Member
Thanks for reply!

can't we just compromise by increasing memory size or anything at run time?

would you be so kind to expose about the restrictions. Where is the restriction imposed? if I could override the Editor Edit part or Graphical Edit part of Widget to increase the size by 400 to 500?

Thank you so much!
-Sarvesh
Re: Page length [message #617411 is a reply to message #617410] Fri, 14 August 2009 13:23 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Hi,

It was actually an OS limit. It didn't allow bitmaps much larger than that.

Sarvesh wrote:
> Thanks for reply!
>
> can't we just compromise by increasing memory size or anything at run time?
>
> would you be so kind to expose about the restrictions. Where is the
> restriction imposed? if I could override the Editor Edit part or
> Graphical Edit part of Widget to increase the size by 400 to 500?
>
> Thank you so much!
> -Sarvesh
>

--
Thanks,
Rich Kulp
Previous Topic:components properties pallete
Next Topic:Can't view any visual class property
Goto Forum:
  


Current Time: Thu Apr 25 07:36:18 GMT 2024

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

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

Back to the top