Created
September 6, 2018 22:52
-
-
Save jglee72/537054a8e030838f86012a78cc565e67 to your computer and use it in GitHub Desktop.
textField.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: utf-8 | |
import ui | |
class accountField (ui.View): | |
'''Each account display of current balance. associated button for adding transactions. editable field for balance update | |
''' | |
def __init__ (self,frame_loc=(0,0)): | |
self.acc_field= ui.TextView(frame=frame_loc+(150,64),bg_color=(1.0, .0, .0,0.5),text_color=('white'),font=('AmericanTypewriter-Bold',17), text=('text'),border_color=('#412190'),border_width=3,border_radius=20,alignment=ui.ALIGN_LEFT,alpha=0.5,selected=(False),editable=False) | |
#add items to the View | |
# self.add_subview(self.acc_field) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment