motion-prime/styles/form.rb in motion-prime-0.3.2 vs motion-prime/styles/form.rb in motion-prime-0.3.3
- old
+ new
@@ -1,11 +1,19 @@
motion_require '../views/styles.rb'
MotionPrime::Styles.define :base_form do
style :header, container: {height: 25}
style :header_label,
- left: 0, right: 0, size_to_fit: true,
- bottom: 20, top: nil
+ left: 0,
+ bottom: 5,
+ top: nil,
+ width: 320,
+ size_to_fit: true
+ style :header_hint,
+ left: 0,
+ bottom: 5,
+ top: nil,
+ width: 320
style :field,
selection_style: UITableViewCellSelectionStyleNone,
background_color: :clear
@@ -69,11 +77,11 @@
},
title_color: :gray,
title_label: {
font: proc { MotionPrime::Config.font.name.uifont(16) }
}
- style :select_field_arrow,
+ style :select_field_image,
image: "images/forms/select_arrow.png",
top: 40,
right: 5,
width: 9,
height: 14
@@ -83,10 +91,10 @@
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_arrow,
+ style :with_sections_select_field_image,
right: 25
style :with_sections_switch_field_input,
right: 25
style :with_sections_switch_field_label,
\ No newline at end of file