Please see the attached video. Using the standard UniGui example we can see that the FileUploadButton anchor is having problems when placed inside a UniContainerPanel.
Thanks for the good work you've been doing!
Attached is also the project used in the video.
Fábio.
Record_2022_06_03_08_51_17_435.mp4
FileUpload - Button.rar
Hello,
Workaround for now:
procedure TMainForm.UniFormCreate(Sender: TObject);
begin
UniFileUploadButton1.JSInterface.JSAddListener('afterrender', 'function(){var btn=this.button; if (btn) {btn.setStyle({width: "auto", display: "flex", "justify-content": "center"})}}');
end;