motion-prime/styles/form.rb in motion-prime-0.5.2 vs motion-prime/styles/form.rb in motion-prime-0.5.3

- old
+ new

@@ -35,11 +35,12 @@ size_to_fit: true style :field_error_message, top: nil, bottom: 0, - width: 300, + width: 280, + left: 0, line_break_mode: :word_wrap, number_of_lines: 0, size_to_fit: true, text_color: :app_error, font: proc { MotionPrime::Config.font.name.uifont(12) } @@ -77,20 +78,25 @@ }, title_color: :gray, title_label: { font: proc { MotionPrime::Config.font.name.uifont(16) } } + style :select_field_image, image: "images/forms/select_arrow.png", top: 40, right: 5, width: 9, 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, :with_sections_field_button, + 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, right: 25 \ No newline at end of file