Add a date setting (#3234)

This commit is contained in:
Robert
2017-09-18 19:04:36 +02:00
committed by GitHub
parent ae66a367c2
commit 5258643a85
8 changed files with 361 additions and 39 deletions

View File

@@ -61,7 +61,6 @@ function TimeWidget:update()
local hour_widget = NumberPickerWidget:new{
show_parent = self,
width = self.screen_width * 0.2,
height = nil,
value = self.hour,
value_min = 0,
value_max = 23,
@@ -71,7 +70,6 @@ function TimeWidget:update()
local min_widget = NumberPickerWidget:new{
show_parent = self,
width = self.screen_width * 0.2,
height = nil,
value = self.min,
value_min = 0,
value_max = 59,