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

When I set navbar translucent to false grid stops working #318

Open
dkrusenstrahle opened this issue Mar 29, 2016 · 0 comments
Open

When I set navbar translucent to false grid stops working #318

dkrusenstrahle opened this issue Mar 29, 2016 · 0 comments

Comments

@dkrusenstrahle
Copy link

Hello,

When I set navbar translucent to false grid stops working.
The grid is there but the UIViews that I have placed on first row is on third row if translucent is set to false (when true all is fine).

I tried this in both apperance.rb and style sheets.

UINavigationBar.appearance.translucent = false

UINavigationBar.appearance.tap do |o|
        o.barTintColor = rmq.color.black
        o.setTintColor rmq.color.white
        o.translucent = false

        o.setTitleTextAttributes( {
          UITextAttributeFont => rmq.font.medium,
          UITextAttributeTextColor => rmq.color.white
        })
      end

This seems to be a serious bug since I cannot even use a background image without disturbing the grid.

Base view when translucent is set to true

UIView ( root_view ) 4487615040 {l: 0, t: 0, w: 375, h: 603}

simulator screen shot 28 mars 2016 12 44 53

Base view when translucent is set to false

UIView ( root_view ) 4487615040 {l: 0, t: 64, w: 375, h: 603}

simulator screen shot 28 mars 2016 12 44 18

What is wrong? Please help. Redpotion is a seriously cool tool but me (and I guess many with me) cannot use it until this bug is fixed.

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