x11 Posted June 2, 2021 Share Posted June 2, 2021 Подскажите, как можно перенести текст в свойстве fieldlabel? Например, с помощью CSS. Я как только не пробовал, у меня не получается. На мобильной форме (внутри TUnimScrollBox) лежат много элементов TUnimCheckbox, которые создаются и заполняются динамически: while not qRef.Eof do begin check := TUnimCheckbox.Create(self); check.Parent := UnimScrollBox1; check.Caption := qRef.Fields[1].AsString; // NAME.Value; check.FieldLabelAlign := laRight; check.FieldLabelWidth := 90; check.OnChangeValue := UnimCheckBoxChangeValue; check.Tag := qRef.Fields[0].AsInteger; check.LayoutConfig.Width := '100%'; qRef.Next; end; Спасибо Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 2, 2021 Share Posted June 2, 2021 Я проанализирую. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 2, 2021 Share Posted June 2, 2021 25 minutes ago, x11 said: Подскажите, как можно перенести текст в свойстве fieldlabel? UnimCheckBox1.JSInterface.JSConfig('labelWrap', [True]); 1 Quote Link to comment Share on other sites More sharing options...
x11 Posted June 2, 2021 Author Share Posted June 2, 2021 Т.е. это не с помощью CSS? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 2, 2021 Share Posted June 2, 2021 Just now, x11 said: Т.е. это не с помощью CSS? С помощью конфигурации. Quote Link to comment Share on other sites More sharing options...
x11 Posted June 2, 2021 Author Share Posted June 2, 2021 Думал, можно с пом. CSS. Ясно. Спасибо. 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.