motion-prime/styles/base.rb in motion-prime-0.7.0 vs motion-prime/styles/base.rb in motion-prime-0.7.1
- old
+ new
@@ -48,6 +48,18 @@
style :date_picker, :form_field_date_picker,
width: 300,
height: 150,
top: 30, left: 0
+
+ style :spinner,
+ annular: true,
+ center: proc { screen.view.center }, width: 37, height: 37,
+ progress_tint_color: proc { :app_base.uicolor },
+ background_tint_color: proc { :black.uicolor(0.05) },
+ progress: 0.25
+
+ style :spinner_message, mixins: [:multiline],
+ top: proc { screen.view.center.y + 38 }, left: 50, width: 220, text_alignment: :center,
+ font: proc { MotionPrime::Config.font.name.uifont(18) },
+ line_spacing: 6
end