CSC207-2022F-UofT / course-project-bill-gates

A bill recording software developed by team "Bill Gates."
9 stars 4 forks source link

[+] Use `LGoodDatePicker.DatetimePicker` to edit the date #83

Closed Ellen141319 closed 1 year ago

Lei-Tin commented 1 year ago

@ScottCTD, also one small issue. Now, when I clicked "No" in the insertEntry dialogue, it seems like we are receiving some exceptions.

I looked it up, it seems like the issue comes from the call of the addEntryDialog that we have called. The application attempts to insert an entry no matter what we choose in the "Yes/No" option of the addEntryDialog.

ScottCTD commented 1 year ago

dateTimePicker1.setAlignmentX(LEFT_ALIGNMENT);

You can add this line to make a left alignment. image