Giter Club home page Giter Club logo

Comments (5)

Dejal avatar Dejal commented on August 15, 2024

Take a look at the demo project; it shows how to do that.

from dejalactivityview.

qizib avatar qizib commented on August 15, 2024

Ok, found out from the demo-project that it's as easy as this:

[DejalActivityView currentActivityView].activityLabel.text = @"Checking registration...";

Thx,
Qizib

from dejalactivityview.

andrewpbrett avatar andrewpbrett commented on August 15, 2024

Thanks! I was looking for this too - might want to add it to the readme?

from dejalactivityview.

agarcian avatar agarcian commented on August 15, 2024

Is there any way to change the size of the border view so it fits the size of the label, as if it was created new?
For example, you start with a longer string, and then update with a shorter screen, there is a lot of space left on boths sides. Ideally there should be an autosize function.

Thanks for this project, it is great.

from dejalactivityview.

Dejal avatar Dejal commented on August 15, 2024

No, I felt that dynamically resizing the bezel wouldn't look good. So I implemented a mechanism where you can specify the width, and change the text within that.

If you'd prefer a dynamically resizing bezel, feel free to implement it, and send a pull request with your changes, and I'll consider them for inclusion in the project.

from dejalactivityview.

Related Issues (13)

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.