Driexus / SimpleMoneyTracker

GNU General Public License v3.0
0 stars 2 forks source link

Make the submit buttons in the home page like the toggle buttons in the timeline page #26

Closed Driexus closed 9 months ago

MohitKambli commented 9 months ago

Hello, Hope you're doing well. Is this how the buttons in the home page should look like?

image

I tried making the home page buttons and timeline page buttons the same, but I couldn't figure out the vertical spacing between them in the home page. Let me know your thoughts on the same.

Driexus commented 9 months ago

Hello, Thank you for your work! The buttons look ok for now.

If you want to fix the spacing, maybe you can try some of the solutions from this thread: https://stackoverflow.com/questions/53141752/set-the-space-between-elements-in-row-flutter

When you are done (even without the spacing), make a pull request so i can merge your changes.

MohitKambli commented 9 months ago

Hello, I have made the possible changes that would make the submit buttons in the home_page.dart look similar to the toggle buttons in the timeline_page.dart and raised a pull request too as you might have noticed. So, as of now, the home page looks something like this:

image

I was facing a problem while adding spacing to the submit buttons, but then I figured out that the Border widget would just do the work to differentiate all of them. Even though the buttons' layout and the buttons look similar, their code is quite different. I have just made changes in the "home_page.dart" file located at "SimpleMoneyTracker\lib\ui\home". Hope that these code changes meet the requirements.

Thank you, Mohit Kambli