x11 Posted April 29, 2020 Share Posted April 29, 2020 Есть TUniFieldSet, внутри лежит две компоненты TUniRadioGroup. Все кнопки сдвинулись влево, а хотелось бы, чтобы они немного шире были. Чтобы при увеличении родительского поля UniFieldSet они тоже немного растягивались, но не сильно. Вставляю в with формулу: calc(width - 30%) или другую, но оно не работает. Подскажите, как правильно? Quote Link to comment Share on other sites More sharing options...
x11 Posted April 29, 2020 Author Share Posted April 29, 2020 Как вариант, я указал column в свойстве Layout у контейнера UniFieldSet. Все равно они сдвинулись влево и не растягиваются. Quote Link to comment Share on other sites More sharing options...
stas Posted April 29, 2020 Share Posted April 29, 2020 procedure TMainForm.UniFormCreate(Sender: TObject); begin TUniPanel(UniFieldSet3).LayoutAttribs.Align:='middle'; TUniPanel(UniFieldSet3).Layout:='vbox'; TUniPanel(UniFieldSet3).AlignmentControl:=uniAlignmentClient; end; Quote Link to comment Share on other sites More sharing options...
x11 Posted April 30, 2020 Author Share Posted April 30, 2020 та нет же, это не то совсем вернее, не совсем то размер всё равно маленький, нужно чтобы растягивалось Quote Link to comment Share on other sites More sharing options...
stas Posted April 30, 2020 Share Posted April 30, 2020 TUniPanel(UniFieldSet3).LayoutAttribs.Align:='stretch'; TUniPanel(UniFieldSet3).LayoutAttribs.margin:= Quote Link to comment Share on other sites More sharing options...
zilav Posted April 30, 2020 Share Posted April 30, 2020 у vbox вроде width 100% надо указывать Quote Link to comment Share on other sites More sharing options...
x11 Posted May 5, 2020 Author Share Posted May 5, 2020 TUniPanel(UniFieldSet3).LayoutAttribs.margin: margin отсутствует Quote Link to comment Share on other sites More sharing options...
x11 Posted May 5, 2020 Author Share Posted May 5, 2020 Как сделать расстояние между Items побольше, а то выглядит уродливо Quote Link to comment Share on other sites More sharing options...
stas Posted May 5, 2020 Share Posted May 5, 2020 Размещать radiobutton самостоятельно, переходить на fieldset 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.