Hello,
Unfortunately, it is not possible to change the width of the soft keyboard through code.
The appearance and behavior of the soft keyboard are determined by the user’s system settings and the keyboard app being used.
But you can guide users to set float soft keyboard (Click the three dots in the right-top keyboard, choose Floating).
Best Regards,
Leon Lu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.