Support Forum

Ask questions and get help from MobileTogether experts.
MobileTogether Product Information
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
View
Go to last post Go to first unread
dpr  
#1 Posted : Friday, February 1, 2019 9:01:59 PM(UTC)
dpr

Rank: Member

Groups: Registered
Joined: 1/25/2019(UTC)
Posts: 20
Ireland

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):
DatePicker.png
bbv  
#2 Posted : Friday, February 1, 2019 10:32:11 PM(UTC)
bbv

Rank: Administration

Groups: Registered, Administrators
Joined: 7/21/2014(UTC)
Posts: 399

Was thanked: 67 time(s) in 67 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.
dpr  
#3 Posted : Saturday, February 2, 2019 12:32:23 AM(UTC)
dpr

Rank: Member

Groups: Registered
Joined: 1/25/2019(UTC)
Posts: 20
Ireland

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-datepicker

Don't know if that sort of setting can be exposed though when you are targeting cross platform :/
bbv  
#4 Posted : Saturday, February 2, 2019 2:32:53 PM(UTC)
bbv

Rank: Administration

Groups: Registered, Administrators
Joined: 7/21/2014(UTC)
Posts: 399

Was thanked: 67 time(s) in 67 post(s)
Currently there is no such possibility
dpr  
#5 Posted : Wednesday, February 6, 2019 11:05:46 PM(UTC)
dpr

Rank: Member

Groups: Registered
Joined: 1/25/2019(UTC)
Posts: 20
Ireland

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.
bbv  
#6 Posted : Thursday, February 7, 2019 1:46:08 PM(UTC)
bbv

Rank: Administration

Groups: Registered, Administrators
Joined: 7/21/2014(UTC)
Posts: 399

Was thanked: 67 time(s) in 67 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.
Users browsing this topic
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.