Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Balance Decimals slider setting #169

Merged
merged 11 commits into from
Aug 10, 2023
Merged

Conversation

JSKitty
Copy link
Member

@JSKitty JSKitty commented Aug 4, 2023

Abstract

This PR adds a new Display customisation setting, "Balance Decimals", requested by a user, this setting allows the user to customise the decimals displayed by their wallet, and the wallet UI was adjusted to neatly include this feature without harming the UI flow.

You can set the decimals from 0 to 8 - 0 will completely disable them and round, while 8 will display down to the Satoshi level, the font size of the balance displays are adjusted to ensure they never overflow or look bad, as well as a new 'Number Beautifier' function which can adjust the Opacity and Font Size of decimal numbers for a lovely display.

0 Decimals:

image

2 Decimals (MPW Default Setting):

image

8 Decimals:

image

As you can see, the font size and opacity is adjusted on-the-fly, nice and tidy!

What does this PR address?

This PR resolves #155, a user requested feature to add Decimal Customisation to the wallet.

@JSKitty JSKitty added the Enhancement New feature or request label Aug 4, 2023
@JSKitty JSKitty self-assigned this Aug 4, 2023
Liquid369
Liquid369 previously approved these changes Aug 7, 2023
Copy link

@Liquid369 Liquid369 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tACK 5fac2a9

GG

@JSKitty JSKitty merged commit 487da56 into master Aug 10, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
Development

Successfully merging this pull request may close these issues.

Request: Add setting to customise Balance Decimals
3 participants