diegopvlk / Dosage

Medication tracker for Linux
GNU General Public License v3.0
84 stars 15 forks source link

Flat numbers in UI #22

Closed ghost closed 11 months ago

ghost commented 11 months ago

Hello, values on the interface are presented with decimals, but there is no way to use them as decimal numbers when using the spinner.

In this case, showing decimals on the interface seems confusing.

Could you make sure they are displayed as plain, non-decimal integers?

Additionally, some medications need to be used in doses of a quarter, sometimes half, or even 1.5.

In fact, presenting them in decimal form could sometimes be useful. However, I couldn't find such a setting in the interface.

numbers

diegopvlk commented 11 months ago

Hello, values on the interface are presented with decimals, but there is no way to use them as decimal numbers when using the spinner.

You mean the inventory numbers right? Those are incremented by 1. Which doesn't make sense to be fractioned, when adding new inventory, it needs to be fast.

Dosage numbers are incremented by 0.25, if you mean these, I'm not sure why it's not working for you. Screencast.webm

Could you make sure they are displayed as plain, non-decimal integers?

I don't think GTK has an option for that, so it's not possible.

ghost commented 11 months ago

Probably my mistake. I tested again and it's working well.