Maximize problem [message #21795] |
Wed, 03 January 2007 00:04  |
Eclipse User |
|
|
|
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 #29025 is a reply to message #22569] |
Tue, 13 February 2007 13:01  |
Eclipse User |
|
|
|
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 #573909 is a reply to message #21795] |
Thu, 04 January 2007 11:27  |
Eclipse User |
|
|
|
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 02:06  |
Eclipse User |
|
|
|
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 09:33  |
Eclipse User |
|
|
|
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 13:01  |
Eclipse User |
|
|
|
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.
>
|
|
|
Powered by
FUDForum. Page generated in 0.10075 seconds