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

Localization and Loading Header Width #16

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Localization and Loading Header Width #16

wants to merge 2 commits into from

Conversation

ChocoChipset
Copy link

  1. Localization of the strings.
  2. The header view had a fixed width of 320 points. I've refactored this so now its width equals to the width of the table. This was bad when using the class on iPad or on iPhone in landscape position: the label wasn't centered and the view looked truncated if a color was used. It should now display properly on any table width.
    I also added Fixed Width Autoresizing masks to the view and to the label, so resizing on rotations is also covered now.

Added NSLocalizedString macro to the strings.
Useful for extra wide tables: iPad and rotated iPhones.
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

Successfully merging this pull request may close these issues.

1 participant