Hi there
I have two labels, one left justified and the other right justified.. this is the code I am using
Label1.TextColor = Colors.Red
Label1.Gravity = Gravity.LEFT
Label1.Top = 0%x
Label1.Width = 100%x
Label1.Text = "Application Name"
Label1.TextSize = 1.5%x
DateTime.DateFormat = "dd/MM/yyyy"
Today = DateTime.Date(DateTime.Now)
Label2.Text= Today
Label2.TextColor = Colors.Green
Label2.Gravity = Gravity.RIGHT
Label2.Top = 0%x
Label2.Width = 100%x
Label2.TextSize = 1.5%x
I expect this to show the title pushed up to the left and the date pushed up to the right on the same line but it crops off the last digit of the year 29/09/201 instead of 29/09/2014 and when the orientation changes to portrait it crops of the last tow year digits.. I have a Samsung Galaxy Tab S..
Your help is much appreciated..
Derek.
I have two labels, one left justified and the other right justified.. this is the code I am using
Label1.TextColor = Colors.Red
Label1.Gravity = Gravity.LEFT
Label1.Top = 0%x
Label1.Width = 100%x
Label1.Text = "Application Name"
Label1.TextSize = 1.5%x
DateTime.DateFormat = "dd/MM/yyyy"
Today = DateTime.Date(DateTime.Now)
Label2.Text= Today
Label2.TextColor = Colors.Green
Label2.Gravity = Gravity.RIGHT
Label2.Top = 0%x
Label2.Width = 100%x
Label2.TextSize = 1.5%x
I expect this to show the title pushed up to the left and the date pushed up to the right on the same line but it crops off the last digit of the year 29/09/201 instead of 29/09/2014 and when the orientation changes to portrait it crops of the last tow year digits.. I have a Samsung Galaxy Tab S..
Your help is much appreciated..
Derek.