Giter VIP home page Giter VIP logo

Comments (9)

FreakyAli avatar FreakyAli commented on July 23, 2024

You have everything you need in the documentation, did you go through it?

https://github.com/FreakyAli/Maui.FreakyControls/wiki/FreakyPinCodeControl

from maui.freakycontrols.

SE250880 avatar SE250880 commented on July 23, 2024

Yes, I did, but ItemSpacing and KeyboardSizeRequest have no Effect?

from maui.freakycontrols.

FreakyAli avatar FreakyAli commented on July 23, 2024

I just tried it out and it's not working, So I will try to see if I can find some time to fix this, But I am not 100% sure how soon I will look into it!

You can either wait or just copy the control to your app and make changes to it if this is urgent

from maui.freakycontrols.

FreakyAli avatar FreakyAli commented on July 23, 2024

After looking into this further, I have rewritten the logic that controlled the keyboard & display of the buttons, now they will be evenly distributed based on the available space and will also fit the height available to the control, Also I have added two new properties that should let you control the HeightRequest and WidthRequest of the keyboard buttons if you are not happy with the existing logic changes and the SizeRequest property is now deprecated in favour of the new properties and will be removed in some future release.

Note: once you use these above-mentioned properties, the above-mentioned logic that decides the sizes of the buttons will get automatically disabled as it is part of a grid and the only way to enable it again would be to recreate the view.

More information here: https://github.com/FreakyAli/Maui.FreakyControls/pull/122/files

from maui.freakycontrols.

FreakyAli avatar FreakyAli commented on July 23, 2024

Oh yeah FYI ItemSpacing is not for the keyboard but the pin code items, you should find a new property in the next release called KeyboardSpacing

from maui.freakycontrols.

SE250880 avatar SE250880 commented on July 23, 2024

Ok thanks, I will try this when the next nugetversion is released.

from maui.freakycontrols.

FreakyAli avatar FreakyAli commented on July 23, 2024

Fixed in the latest pre-release

from maui.freakycontrols.

SE250880 avatar SE250880 commented on July 23, 2024

Ok thanks a lot.
Is there also a possibilty to hide the cancel button or to set the size of this button separately? Since I can only set one text size for the keyboard, it is difficult to find a suitable size that fits the numbers and the cancel text. It would also be nice if the cancel button could have no text but an icon instead

from maui.freakycontrols.

FreakyAli avatar FreakyAli commented on July 23, 2024

Is there also a possibility to hide the cancel button or to set the size of this button separately?

For now no, if this was something you needed you should've mentioned this in this or a separate bug.

Since I can only set one text size for the keyboard, it is difficult to find a suitable size that fits the numbers and the cancel text.

This is intentional for consistency.

it is difficult to find a suitable size that fits the numbers and the cancel text. It would also be nice if the cancel button could have no text but an icon instead

Raise a feature request and i might look into it

from maui.freakycontrols.

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.