Skip to content

Instantly share code, notes, and snippets.

@twerth
Last active August 29, 2015 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save twerth/d39028cdc4c0b4811d15 to your computer and use it in GitHub Desktop.
Save twerth/d39028cdc4c0b4811d15 to your computer and use it in GitHub Desktop.
Some styles
def pbi(st)
st.frame = 'a0:j8'
st.background_color = color.pbi
st.z_position = 1
st.hidden = true
st.clips_to_bounds = true
end
def instruction_image(st)
st.frame = 'a11:j15'
st.image = image.resource('scanning_instructions')
end
def pbi_move_to_product(st)
standard_button st
st.frame = 'a9:e10'
st.text = 'Move to Product'
end
def pbi_move_to_sprint(st)
standard_button st
st.frame = 'a9:e10'
st.text = 'Move to Sprint'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment