Jump to content

у компонента UniScrollBox1 нет свойсва AligmentControl.


MSMK

Recommended Posts

Доброе время суток, мне нужно компоненты расположить в UniScrollBox1  и при этом равнение нужно использовать на стороне клиента (uniAlignmentClient).

Что то я не нашел свойство AligmentControl у UniScrollBox1 . Как быть?

 

 

Link to comment
Share on other sites

3 hours ago, =GGG= said:

Доброе время суток, мне нужно компоненты расположить в UniScrollBox1  и при этом равнение нужно использовать на стороне клиента (uniAlignmentClient).

Что то я не нашел свойство AligmentControl у UniScrollBox1 . Как быть?

Доброе,

1. Откройте демо:

\FMSoft\Framework\uniGUI\Demos\Desktop\Clientside Alignment - Layout VBox

2. Используйте UniContainerPanel1, свойство AutoScroll = True

3. 

procedure TMainForm.UniFormCreate(Sender: TObject);
begin
  UniPanel1.JSInterface.JSConfig('minHeight', [UniPanel1.Height]);
  UniPanel2.JSInterface.JSConfig('minHeight', [UniPanel2.Height]);
  UniPanel3.JSInterface.JSConfig('minHeight', [UniPanel3.Height]);
end;

 

  • Like 1
Link to comment
Share on other sites

2 hours ago, Sherzod said:

Доброе,

1. Откройте демо:

\FMSoft\Framework\uniGUI\Demos\Desktop\Clientside Alignment - Layout VBox

2. Используйте UniContainerPanel1, свойство AutoScroll = True

3. 

procedure TMainForm.UniFormCreate(Sender: TObject);
begin
  UniPanel1.JSInterface.JSConfig('minHeight', [UniPanel1.Height]);
  UniPanel2.JSInterface.JSConfig('minHeight', [UniPanel2.Height]);
  UniPanel3.JSInterface.JSConfig('minHeight', [UniPanel3.Height]);
end;

 

спасибо. отлично

  • Thanks 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...