Open ludolphus opened 11 years ago
After running this code, I thought I would see exactly that, but on the contrary, my label was sized perfectly. (Will attach screenshots in a bit. GitHub being slow at the moment).
This shouldn't be happening, as the [label sizeToFit] perfectly handles setting the label's height. I'll keep an eye out for this one and cook another more exhaustive test case.
— Sent from Mailbox for iPad
On Mon, Oct 7, 2013 at 3:57 PM, Steven van Loef notifications@github.com wrote:
Best way to see this issue is to set a backgroundColor on the label, see screenshot. Sample code in my fork of this project in app.js
Reply to this email directly or view it on GitHub: https://github.com/dezinezync/NappUI/issues/3
I will retest this with a 100% sure clean copy of the current code on your fork.
Just downloaded a clean copy of the current source. Only thing changed is the backgroundColor in the example to show the label frame. Same result as before: the labels 'leaks'
Let me inspect it again.
— Sent from Mailbox for iPad
On Mon, Oct 7, 2013 at 4:56 PM, Steven van Loef notifications@github.com wrote:
Just downloaded a clean copy of the current source. Only thing changed is the backgroundColor in the example to show the label frame. Same result as before: the labels 'leaks'
Reply to this email directly or view it on GitHub: https://github.com/dezinezync/NappUI/issues/3#issuecomment-25801111
Finally! Github is working.
Following are the frames I got: (Xcode 5, iOS 7, Sim)
\n
appended to the string\n
no idea what's wrong on my system, also using XCode 5 and the iOS 7 Simulator. Will try some other settings and placement of the label like you did here. I'm running the sim in retina large mode. I just tried without setting bottom/top so it centers, but still leaking the last line
On another system, reinstalled XCode 5 and only 3.1.3.GA installed. Still same problem. Will try latest continues builds for 3.1.4 and 3.2.0
I'm sure this has nothing to do with Ti. This is an iOS thing. So definitely a sizeToFit bug.
Cheers, Nikh.
On Tue, Oct 8, 2013 at 6:32 PM, Steven van Loef notifications@github.com wrote:
On another system, reinstalled XCode 5 and only 3.1.3.GA installed. Still same problem. Will try latest continues builds for 3.1.4 and 3.2.0
Reply to this email directly or view it on GitHub: https://github.com/dezinezync/NappUI/issues/3#issuecomment-25887338
Strange thing is that it works on your simulator. I have a device running on 6.1.3, could try there and see what happens.
Surprisingly, it works in my app as well, and so far none of my beta testers have reported this behaviour. The app is iOS7 only.
Cheers, Nikh.
On Tue, Oct 8, 2013 at 7:27 PM, Steven van Loef notifications@github.com wrote:
Strange thing is that it works on your simulator. I have a device running on 6.1.3, could try there and see what happens.
Reply to this email directly or view it on GitHub: https://github.com/dezinezync/NappUI/issues/3#issuecomment-25891761
Best way to see this issue is to set a backgroundColor on the label, see screenshot. Sample code in my fork of this project in app.js