diff options
Diffstat (limited to 'date_picker/date_picker.tscn')
| -rw-r--r-- | date_picker/date_picker.tscn | 167 |
1 files changed, 123 insertions, 44 deletions
diff --git a/date_picker/date_picker.tscn b/date_picker/date_picker.tscn index 88f98d8..84b2089 100644 --- a/date_picker/date_picker.tscn +++ b/date_picker/date_picker.tscn @@ -2,146 +2,225 @@ [ext_resource path="res://date_picker/scroll_picker.gd" type="Script" id=1] -[node name="date_picker" type="HBoxContainer"] +[node name="date_picker" type="Control"] anchor_right = 1.0 anchor_bottom = 1.0 mouse_filter = 2 -alignment = 1 __meta__ = { "_edit_use_anchors_": false } [node name="day_scroll" type="Control" parent="."] -margin_left = 5.0 -margin_right = 239.0 -margin_bottom = 1280.0 -rect_min_size = Vector2( 234, 0 ) +anchor_right = 0.333 +anchor_bottom = 1.0 script = ExtResource( 1 ) __meta__ = { "_edit_use_anchors_": false } -[node name="label" type="Label" parent="day_scroll"] +[node name="value_previous" type="Label" parent="day_scroll"] anchor_right = 1.0 -text = "day" +anchor_bottom = 0.333 +mouse_filter = 1 align = 1 +valign = 1 __meta__ = { "_edit_use_anchors_": false } -[node name="value_previous" type="Label" parent="day_scroll"] +[node name="ColorRect" type="ColorRect" parent="day_scroll/value_previous"] anchor_right = 1.0 -margin_bottom = 80.0 -mouse_filter = 1 -align = 1 +anchor_bottom = 1.0 +mouse_filter = 2 +color = Color( 0, 1, 1, 0.0980392 ) __meta__ = { "_edit_use_anchors_": false } [node name="value" type="Label" parent="day_scroll"] +anchor_top = 0.333 anchor_right = 1.0 -margin_top = 80.0 -margin_bottom = 160.0 +anchor_bottom = 0.666 mouse_filter = 1 align = 1 +valign = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="ColorRect" type="ColorRect" parent="day_scroll/value"] +anchor_right = 1.0 +anchor_bottom = 1.0 +mouse_filter = 2 +color = Color( 1, 1, 1, 0.0980392 ) __meta__ = { "_edit_use_anchors_": false } [node name="value_next" type="Label" parent="day_scroll"] +anchor_top = 0.666 anchor_right = 1.0 -margin_top = 160.0 -margin_bottom = 240.0 +anchor_bottom = 1.0 mouse_filter = 1 align = 1 +valign = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="ColorRect" type="ColorRect" parent="day_scroll/value_next"] +anchor_right = 1.0 +anchor_bottom = 1.0 +mouse_filter = 2 +color = Color( 1, 1, 0, 0.0980392 ) __meta__ = { "_edit_use_anchors_": false } [node name="month_scroll" type="Control" parent="."] -margin_left = 243.0 -margin_right = 477.0 -margin_bottom = 1280.0 -rect_min_size = Vector2( 234, 0 ) +anchor_left = 0.333 +anchor_right = 0.666 +anchor_bottom = 1.0 script = ExtResource( 1 ) -[node name="label" type="Label" parent="month_scroll"] +[node name="value_previous" type="Label" parent="month_scroll"] anchor_right = 1.0 -text = "month" +anchor_bottom = 0.333 +mouse_filter = 1 align = 1 +valign = 1 __meta__ = { "_edit_use_anchors_": false } -[node name="value_previous" type="Label" parent="month_scroll"] +[node name="ColorRect" type="ColorRect" parent="month_scroll/value_previous"] anchor_right = 1.0 -margin_bottom = 80.0 -mouse_filter = 1 -align = 1 +anchor_bottom = 1.0 +mouse_filter = 2 +color = Color( 0, 1, 1, 0.0980392 ) __meta__ = { "_edit_use_anchors_": false } [node name="value" type="Label" parent="month_scroll"] +anchor_top = 0.333 anchor_right = 1.0 -margin_top = 80.0 -margin_bottom = 160.0 +anchor_bottom = 0.666 mouse_filter = 1 align = 1 +valign = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="ColorRect" type="ColorRect" parent="month_scroll/value"] +anchor_right = 1.0 +anchor_bottom = 1.0 +mouse_filter = 2 +color = Color( 1, 1, 1, 0.0980392 ) __meta__ = { "_edit_use_anchors_": false } [node name="value_next" type="Label" parent="month_scroll"] +anchor_top = 0.666 anchor_right = 1.0 -margin_top = 160.0 -margin_bottom = 240.0 +anchor_bottom = 1.0 mouse_filter = 1 align = 1 +valign = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="ColorRect" type="ColorRect" parent="month_scroll/value_next"] +anchor_right = 1.0 +anchor_bottom = 1.0 +mouse_filter = 2 +color = Color( 1, 1, 0, 0.0980392 ) __meta__ = { "_edit_use_anchors_": false } [node name="year_scroll" type="Control" parent="."] -margin_left = 481.0 -margin_right = 715.0 -margin_bottom = 1280.0 -rect_min_size = Vector2( 234, 0 ) +anchor_left = 0.666 +anchor_right = 1.0 +anchor_bottom = 1.0 script = ExtResource( 1 ) -[node name="label" type="Label" parent="year_scroll"] +[node name="value_previous" type="Label" parent="year_scroll"] anchor_right = 1.0 -text = "year" +anchor_bottom = 0.333 +mouse_filter = 1 align = 1 +valign = 1 __meta__ = { "_edit_use_anchors_": false } -[node name="value_previous" type="Label" parent="year_scroll"] +[node name="ColorRect" type="ColorRect" parent="year_scroll/value_previous"] anchor_right = 1.0 -margin_bottom = 80.0 -mouse_filter = 1 -align = 1 +anchor_bottom = 1.0 +mouse_filter = 2 +color = Color( 0, 1, 1, 0.0980392 ) __meta__ = { "_edit_use_anchors_": false } [node name="value" type="Label" parent="year_scroll"] +anchor_top = 0.333 anchor_right = 1.0 -margin_top = 80.0 -margin_bottom = 160.0 +anchor_bottom = 0.666 mouse_filter = 1 align = 1 +valign = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="ColorRect" type="ColorRect" parent="year_scroll/value"] +anchor_right = 1.0 +anchor_bottom = 1.0 +mouse_filter = 2 +color = Color( 1, 1, 1, 0.0980392 ) __meta__ = { "_edit_use_anchors_": false } [node name="value_next" type="Label" parent="year_scroll"] +anchor_top = 0.666 anchor_right = 1.0 -margin_top = 160.0 -margin_bottom = 240.0 +anchor_bottom = 1.0 mouse_filter = 1 align = 1 +valign = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="ColorRect" type="ColorRect" parent="year_scroll/value_next"] +anchor_right = 1.0 +anchor_bottom = 1.0 +mouse_filter = 2 +color = Color( 1, 1, 0, 0.0980392 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="split_previous" type="ColorRect" parent="."] +anchor_top = 0.333 +anchor_right = 1.0 +anchor_bottom = 0.343 +color = Color( 1, 1, 1, 0.25 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="split_next" type="ColorRect" parent="."] +anchor_top = 0.666 +anchor_right = 1.0 +anchor_bottom = 0.676 +color = Color( 1, 1, 1, 0.25 ) __meta__ = { "_edit_use_anchors_": false } |
