CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Resizing

by etwoss » 27 Mar 2015 09:05

Hi

I have a form with a TIWCJQRegion align None.
This region has an other region aligned top and a Pivot aligned Client

On resize of the form i want the Pivot to size with the form width:
Code: Select all
procedure TIWFormDashboardPivot.IWAppFormResize(Sender: TObject);
begin
  rgnMain.Width := (Self.Width - rgnMain.Left - 40);
end;


I have given the outher region a border to see whats happening.

When i resize what happening?

During resize the with of the pivot is the same as the region. When i stop resizing , the widt of the pivot gets smaller!

Also when re-sizing smaller it does strange things, now the other way around, the pivots does not fit in any more when stop resizing.
When re-sizing smaller bit by bit it does as described. If you re-size smaller big part the components are not scaled at all!
Whats going on?

First image showing whats happening when re-sizing smaller, you don't see the word "Totals"
Second image shows whats happening when re-sizing width-er

Eric
You do not have the required permissions to view the files attached to this post.
etwoss
 
Posts: 1205
Joined: 06 Feb 2014 08:58

by etwoss » 27 Mar 2015 09:42

Hi

Working now using a form with alignment of the main region which works a lot better then with None and resizing the region onResize

Eric
etwoss
 
Posts: 1205
Joined: 06 Feb 2014 08:58


Return to JQPivot

cron

Who is online

Users browsing this forum: No registered users and 2 guests

Contact Us.