Giter Site home page Giter Site logo

Comments (10)

mrjjwright avatar mrjjwright commented on July 23, 2024

In general how usable are TUITextField and TUITextView? I notice Twitter for Mac doesn't appear to use them except in the search box.

from twui.

yarshure avatar yarshure commented on July 23, 2024

currently I'm on 10.8 , input ok both Twitter and My app. I will test on 10.7.3

from twui.

avaidyam avatar avaidyam commented on July 23, 2024

Would you mind sharing a code snippet? My TUITextView doesn't scroll with the text and i'm sure that both field and view are not TUIScrollView subclasses.

from twui.

yarshure avatar yarshure commented on July 23, 2024

TUITextField, office Twitter Version 2.1.1,Mac OS X 10.7.3 in the search box, have this issue

from twui.

avaidyam avatar avaidyam commented on July 23, 2024

I think yarshure means to say that the TUITextField in Twitter 2.1.1 has this issue in the search box, on OS X 10.7.3.

from twui.

joshaber avatar joshaber commented on July 23, 2024

FWIW, we have this fixed in our fork: github@6281d17

from twui.

avaidyam avatar avaidyam commented on July 23, 2024

^ the GitHub/TwUI fork works perfectly! Thanks! I'd also like to know what the most current TwUI fork is? Looks like it's either joshaber's or github's.

from twui.

yarshure avatar yarshure commented on July 23, 2024

Thanks, but I found another issue in render TUITextField, first Chinese character lost left up corner
example http://twitpic.com/8qtg57

from twui.

avaidyam avatar avaidyam commented on July 23, 2024

The TUITextField clips the view to a rounded rectangle like in iOS. It's shown below:
BOOL doMask = singleLine;
if(doMask) {
CGContextSaveGState(ctx);
CGFloat radius = floor(rect.size.height / 2);
CGContextClipToRoundRect(ctx, CGRectInset(textRect, 0.0f, -radius), radius);
}

Just remove this block of code, and you won't lose portions of the characters.

from twui.

joshaber avatar joshaber commented on July 23, 2024

This is merged in as of #107.

from twui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.