TimePicker size .NET Maui

zc 51 Reputation points
2022-06-13T11:17:58.017+00:00

How set the time picker size in .NET Maui? When I use WidthRequest, it's look this:

210854-image.png

I would like to change size of the cells, but I don't know how to change it.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,412 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Leon Lu (Shanghai Wicresoft Co,.Ltd.) 74,491 Reputation points Microsoft Vendor
    2022-06-14T06:23:31.91+00:00

    Hello,​

    TimePicker' default width is 242, you set WidthRequest="150", this value is too small, please set a value bigger than 242 for WidthRequest in windows platform

    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.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.