Giter VIP home page Giter VIP logo

Comments (16)

mopsicus avatar mopsicus commented on May 22, 2024

What is incorrect? Icon on button?

from umi.

MTaimurAzhar avatar MTaimurAzhar commented on May 22, 2024

Icon is fine, actually it doesn't take it to the next field because in plug-in, all new fields are being generated and original ones are hide, when I try to activate/focus on next field from this button, it doesn't focus on next field

from umi.

mopsicus avatar mopsicus commented on May 22, 2024

Yeah, it's true. Select between default,next,done button is just icon representation. Functionality you should make by yourself by adding listener to OnReturn event:

public void OnReturn () { NextTextField.SetFocus(true); }

from umi.

MTaimurAzhar avatar MTaimurAzhar commented on May 22, 2024

I already applied the functionality through listener
and debugging its being called, but the issue is it doesn't focus on next field.

because it's trying to access the original field and original field is disabled by newly made fields.

how can I get reference or access of these newly made fields?

from umi.

mopsicus avatar mopsicus commented on May 22, 2024

You should set fields in inspector or by code and apply focus to it. It should works.

public MobileInputField InputFirstText;
public MobileInputField InputSecondText;
...
public void OnReturn () { // set this to OnReturn on InputFirstText
    InputSecondText.SetFocus(true); 
}

from umi.

MTaimurAzhar avatar MTaimurAzhar commented on May 22, 2024

Thank you so much, it worked perfectly fine!

from umi.

MTaimurAzhar avatar MTaimurAzhar commented on May 22, 2024

One more thing,
As sprite I applied doesn't show,

1-a white image comes up on text as I go down. how can I avoid it?
2- how can I keep the original sprites and change them depending on the focus, and how can I avoid the this white image?

from umi.

mopsicus avatar mopsicus commented on May 22, 2024

Set alpha to 0 for inputfield image normal color, and background will be transparent

from umi.

MTaimurAzhar avatar MTaimurAzhar commented on May 22, 2024

And font also gets changed.

from umi.

MTaimurAzhar avatar MTaimurAzhar commented on May 22, 2024

Set alpha to 0 for inputfield image normal color, and background will be transparent

Actually I am swiping the sprites rather than color change.

from umi.

mopsicus avatar mopsicus commented on May 22, 2024

Font change now is not available. You can change font color only.

from umi.

MTaimurAzhar avatar MTaimurAzhar commented on May 22, 2024

Font change now is not available. You can change font colour only.

Actually I am not changing the font, was just using a bold font, but it appeared as light font different than original one.

from umi.

mopsicus avatar mopsicus commented on May 22, 2024

Ok, will check it

from umi.

MTaimurAzhar avatar MTaimurAzhar commented on May 22, 2024

Does it allow to swipe the sprites??

Untitled

from umi.

mopsicus avatar mopsicus commented on May 22, 2024

In current realization just these params can be send to plugin:

            public bool Multiline;
            public Color TextColor;
            public Color BackgroundColor;
            public string ContentType;
            public string InputType;
            public string KeyboardType;
            public float FontSize;
            public string Align;
            public string Placeholder;
            public Color PlaceholderColor;
            public int CharacterLimit;

from umi.

MTaimurAzhar avatar MTaimurAzhar commented on May 22, 2024

I see, thank you so much for quick replies and for this package.

from umi.

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.