Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

appearance is not working when adding on type text field #59

Open
naiyyar opened this issue Aug 30, 2017 · 0 comments
Open

appearance is not working when adding on type text field #59

naiyyar opened this issue Aug 30, 2017 · 0 comments

Comments

@naiyyar
Copy link

naiyyar commented Aug 30, 2017

Hi,
Below is my code. It's not setting the detail_font to bold. i have tried in 3 different ways but not setting textfield detail_font to bold.

def form_data
  [{
      cells: [{
                title: '',
                name: :title,
                type: :text,
                value: task['title'],
                appearance: {
                    font: UIFont.fontWithName('HelveticaNeue-Bold', size: 16.0),
                    detail_font: UIFont.fontWithName('HelveticaNeue-Bold', size: 16.0),
                    #font: UIFont.fontWithName('Arial-BoldMT', size: 16.0),
                    #detail_font: UIFont.fontWithName('Arial-BoldMT', size: 16.0),
                   # font: UIFont.boldSystemFontOfSize(18),
                   # detail_font: UIFont.boldSystemFontOfSize(18)
              }
       }]
  }]
end

How can i do that?
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant