Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » Maximize problem
Maximize problem [message #21795] Wed, 03 January 2007 05:04 Go to next message
Eclipse UserFriend
Originally posted by: krishna_24jan.yahoomail.com

Hi,

I have a grid with some rows and columns. I have resized my grid size in
the code bu using grid.setSize().When i run my application iam getting the
size of the grid that i have set in my code.But when i maximize it ,the
grid gets maximized but the griditems in which i have placed images dosent
get resized.

can any one help me out in this..?





Thanks in advance
krishna
Re: Maximize problem [message #21842 is a reply to message #21795] Wed, 03 January 2007 12:11 Go to previous messageGo to next message
kris is currently offline krisFriend
Messages: 14
Registered: July 2009
Junior Member
Hi Krishna ,


Try with SashForm....
Re: Maximize problem [message #21886 is a reply to message #21842] Thu, 04 January 2007 06:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: krishna_24jan.yahoomail.com

nop!its not workin with sahform!
Re: Maximize problem [message #22063 is a reply to message #21795] Thu, 04 January 2007 16:27 Go to previous messageGo to next message
Chris Gross is currently offline Chris GrossFriend
Messages: 253
Registered: July 2009
Senior Member
Krishna,

I don't quite understand. Are you trying to change the width of the
columns?

-Chris

krishna wrote:
> Hi,
>
> I have a grid with some rows and columns. I have resized my grid size
> in the code bu using grid.setSize().When i run my application iam
> getting the size of the grid that i have set in my code.But when i
> maximize it ,the grid gets maximized but the griditems in which i have
> placed images dosent get resized.
>
> can any one help me out in this..?
>
>
>
>
>
> Thanks in advance
> krishna
>
Re: Maximize problem [message #22569 is a reply to message #22063] Mon, 08 January 2007 07:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: krishna_24jan.yahoomail.com

No,iam not trying to change the size of grid columns.!
I have placed some text in grid items.Now when i maximize the grid,the
window size gets maximized but the grid size remains the same.
Re: Maximize problem [message #22874 is a reply to message #22569] Mon, 08 January 2007 14:33 Go to previous messageGo to next message
Chris Gross is currently offline Chris GrossFriend
Messages: 253
Registered: July 2009
Senior Member
Can you attach some code?

krishna wrote:
> No,iam not trying to change the size of grid columns.!
> I have placed some text in grid items.Now when i maximize the grid,the
> window size gets maximized but the grid size remains the same.
>
Re: Maximize problem [message #29025 is a reply to message #22569] Tue, 13 February 2007 18:01 Go to previous message
Kathiravan  is currently offline Kathiravan Friend
Messages: 33
Registered: July 2009
Member
The grid is not getting maximized since it didnt know the change in the
window size.

you may need to handle the control event, and resize the grid through
that event. So whenever there is a resize, your code should be invoked
to resize the complete grid.


krishna wrote:
> No,iam not trying to change the size of grid columns.!
> I have placed some text in grid items.Now when i maximize the grid,the
> window size gets maximized but the grid size remains the same.
>
Re: Maximize problem [message #573672 is a reply to message #21795] Wed, 03 January 2007 12:11 Go to previous message
kris is currently offline krisFriend
Messages: 14
Registered: July 2009
Junior Member
Hi Krishna ,


Try with SashForm....
Re: Maximize problem [message #573707 is a reply to message #21842] Thu, 04 January 2007 06:42 Go to previous message
krishna is currently offline krishnaFriend
Messages: 48
Registered: July 2009
Member
nop!its not workin with sahform!
Re: Maximize problem [message #573909 is a reply to message #21795] Thu, 04 January 2007 16:27 Go to previous message
Chris Gross is currently offline Chris GrossFriend
Messages: 471
Registered: July 2009
Senior Member
Krishna,

I don't quite understand. Are you trying to change the width of the
columns?

-Chris

krishna wrote:
> Hi,
>
> I have a grid with some rows and columns. I have resized my grid size
> in the code bu using grid.setSize().When i run my application iam
> getting the size of the grid that i have set in my code.But when i
> maximize it ,the grid gets maximized but the griditems in which i have
> placed images dosent get resized.
>
> can any one help me out in this..?
>
>
>
>
>
> Thanks in advance
> krishna
>
Re: Maximize problem [message #574358 is a reply to message #22063] Mon, 08 January 2007 07:06 Go to previous message
krishna is currently offline krishnaFriend
Messages: 48
Registered: July 2009
Member
No,iam not trying to change the size of grid columns.!
I have placed some text in grid items.Now when i maximize the grid,the
window size gets maximized but the grid size remains the same.
Re: Maximize problem [message #574589 is a reply to message #22569] Mon, 08 January 2007 14:33 Go to previous message
Chris Gross is currently offline Chris GrossFriend
Messages: 471
Registered: July 2009
Senior Member
Can you attach some code?

krishna wrote:
> No,iam not trying to change the size of grid columns.!
> I have placed some text in grid items.Now when i maximize the grid,the
> window size gets maximized but the grid size remains the same.
>
Re: Maximize problem [message #578477 is a reply to message #22569] Tue, 13 February 2007 18:01 Go to previous message
Kathiravan  is currently offline Kathiravan Friend
Messages: 33
Registered: July 2009
Member
The grid is not getting maximized since it didnt know the change in the
window size.

you may need to handle the control event, and resize the grid through
that event. So whenever there is a resize, your code should be invoked
to resize the complete grid.


krishna wrote:
> No,iam not trying to change the size of grid columns.!
> I have placed some text in grid items.Now when i maximize the grid,the
> window size gets maximized but the grid size remains the same.
>
Previous Topic:label provider for grid viewer
Next Topic:To change the color of the image in the cell
Goto Forum:
  


Current Time: Tue Nov 25 23:29:26 GMT 2014

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

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