Rank: Member
Groups: Registered
Joined: 1/25/2019(UTC) Posts: 20  Thanks: 4 times
|
Is it possible to not show the day in the date picker or change it's colour? I am testing on a Windows device and the text for the day of the week is in navy blue and it is difficult to make out the text against the dark theme. Screenshot attached. dpr attached the following image(s):
|
|
|
|
Rank: Administration
Groups: Registered, Administrators Joined: 7/21/2014(UTC) Posts: 480
Was thanked: 81 time(s) in 81 post(s)
|
Date Picker looks on each platform differently, because we use native platform implementation. This is the way how Microsoft has designed it for Windows platform.
What you can do though is to use "Enforce light scheme" property in you application.
|
|
|
|
Rank: Member
Groups: Registered
Joined: 1/25/2019(UTC) Posts: 20  Thanks: 4 times
|
Glad to hear you are using the native implementation and not a hybrid HTML5 interpretation of how controls should look! What I really want is not to show the day (or month) as part of the date picker control, rather than change the colour. As you say, the colour is driven bay the native control. I am not a UWP expert, but I think there is a "DayVisible" property on the native XAML control which can hide this. While not UWP, here is a Xamarin example https://forums.xamarin.c...8/hide-day-in-datepickerDon't know if that sort of setting can be exposed though when you are targeting cross platform :/
|
|
|
|
Rank: Administration
Groups: Registered, Administrators Joined: 7/21/2014(UTC) Posts: 480
Was thanked: 81 time(s) in 81 post(s)
|
Currently there is no such possibility
|
|
|
|
Rank: Member
Groups: Registered
Joined: 1/25/2019(UTC) Posts: 20  Thanks: 4 times
|
If I generate the Code for use in AppStores, can I do any modification to the generated source code to modify the properties of native control? I have had a go generating a UWP app and I can see the C++ UWP app but I don't see the actual app UI code and it seems the generated code is simply a "container" type app that is pre-defined to only launch the published app UI on the MobileTogether server.
|
|
|
|
Rank: Administration
Groups: Registered, Administrators Joined: 7/21/2014(UTC) Posts: 480
Was thanked: 81 time(s) in 81 post(s)
|
You are right, MobileTogether logic is packed in one module - it would be a huge thing to expose as code. Code generation is offered for preparing your apps for the AppStore deployment.
|
|
|
|
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.