MSMK Posted December 6, 2023 Share Posted December 6, 2023 Доброе время суток, мне нужно компоненты расположить в UniScrollBox1 и при этом равнение нужно использовать на стороне клиента (uniAlignmentClient). Что то я не нашел свойство AligmentControl у UniScrollBox1 . Как быть? Quote Link to comment Share on other sites More sharing options...
MSMK Posted December 6, 2023 Author Share Posted December 6, 2023 вот такие свойства необходимо задать UniScrollBox1 Quote Link to comment Share on other sites More sharing options...
MSMK Posted December 6, 2023 Author Share Posted December 6, 2023 есть какие нить обходные пути? ↪️ Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 6, 2023 Share Posted December 6, 2023 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; 1 Quote Link to comment Share on other sites More sharing options...
MSMK Posted December 6, 2023 Author Share Posted December 6, 2023 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; спасибо. отлично 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.