Improve media Details Dialog
Created by: brandonio21
Fixes issues:
https://github.com/HoraApps/LeafPic/issues/192
Motivation:
When viewing the details for an image, users may want to see more details than the few details that were picked for them.
Implementation
I added a "show more" button that expands the details dialog and allows the user to see the entire details dataset for their media. I also rearranged the details dialog so that it is more easily scrollable (The title bar no longer scrolls and the user may now scroll horizontally)
Followups:
- When the user clicks "Show More", we may want to remove the original details shown.
- When a user clicks "Show More" the
TableView
that shows the details is skewed because of alignments of the columns. We may want to think about displaying the data differently. Currently, the "Show More" string is not in an XML file (not ready for translation)- The creation of the details dialog should be refactored.. it's a little messy ;)