Page 1 of 1

Alignment

PostPosted: 01 Oct 2017 02:21
by cyracks
Hello,

I am having problem with aligning gridpanel to screen size. Form was created using menu option "File -> New -> other -> CGDevTools -> IWCG Mobile page". Object "GridPanel" was added to "MRegionContent" with Align propertie alClient (this is the only object on MRegionContent). In design mode everything looks ok, but when I start application object "GridPanel" is not resized to screen size (it is bigger).

I tried to set FullHeight on MRegionContent but there is no difference, what else can I try to shrink the size of Gridpanel to screen size (I do not want scroll bars to be shown).

Thx, Tomaž

Re: Alignment

PostPosted: 02 Oct 2017 09:32
by Alexander Bulei
Hi cyracks,

You should look at mobile...in desktop browsers, you can see the unexpected scrollbars.

Best Regards.

Re: Alignment

PostPosted: 02 Oct 2017 21:18
by cyracks
Hi Alexander,

you are right on mobile phone scrollbar is not shown but the problem still exists. I would expect that header + content (JQMGridPanel) + footer would be shown on display 640x360 in size, but only part of JQMGridPanel is shown. It is as minimal height of JQMGridPanel is 640 and can not be shrinked to smaller size (see attached picture).

I even tried to remove all components from all 4 JQMGridPanelRegions and set footer position to jqmdpFixed but size of JQMGridPanel remains the same.

What needs to be done so than that JQMGridPanel is shrinked to the available space between header and footer ?

Thx, Tomaž

Re: Alignment

PostPosted: 03 Oct 2017 09:22
by Alexander Bulei
Hi cyracks,

Can you send me the simple testcase? TIA

Best Regards.

Re: Alignment

PostPosted: 03 Oct 2017 10:20
by cyracks
Hi, test project is located here: http://files.panlab.si/data/public/40e42a

Regards,
Tomaž

Re: Alignment

PostPosted: 09 Oct 2017 09:23
by Alexander Bulei
Hi cyracks,

I can't download the testcase project.

Best Regards.

Re: Alignment

PostPosted: 09 Oct 2017 09:30
by cyracks
Please try again I was deleting/cleaning files over weekend.
http://files.panlab.si/data/public/f34c88