motion-prime/styles/form.rb in motion-prime-0.8.1 vs motion-prime/styles/form.rb in motion-prime-0.8.2
- old
+ new
@@ -1,9 +1,9 @@
motion_require '../views/styles.rb'
MotionPrime::Styles.define :base_form do
style :header, container: {height: 25}
- style :header_label,
+ style :header_label, mixins: [:multiline],
left: 0,
bottom: 5,
top: nil,
width: 320,
size_to_fit: true
@@ -11,11 +11,11 @@
left: 0,
bottom: 5,
top: nil,
width: 320
- style :field,
+ style :field, :cell,
selection_style: :none,
background_color: :clear
style :with_sections,
left: 0,
@@ -93,13 +93,13 @@
height: 14
style :with_sections_field_switch,
right: 20
- style :with_sections_field_text_field,
- :with_sections_field_text_view,
- :with_sections_field_password_field,
- :with_sections_field_label,
+ style :with_sections_field_text_field,
+ :with_sections_field_text_view,
+ :with_sections_field_password_field,
+ :with_sections_field_label,
:with_sections_field_button,
left: 20,
right: 20
style :with_sections_select_field_image,
\ No newline at end of file