Closed TheShadowOfHassen closed 11 months ago
This is definitely much better to review and merge now. For example the changed files dropped from 31 to 12 and lines of code deleted/changed (in existing code) from 428 to only 28.
I hope it makes sense why I wanted this to be clean? ^^'
The PR is now actually only adding features instead of changing everything.
So do you want to fix the conflicts or should I?
So do you want to fix the conflicts or should I?
I'll fix the conflicts. Don't worry about it.
The information overlays spawn on the left side of the application window. I think the anchor point needs to be set properly. Would be good to correct this.
Also I don't really like the alignment of the elements. Buttons should all be aligned in a column on the right, I think.
Then the names can already cause user error. So either the names should be limited or better the labels could use ellipsis and show the actual name on hover as proper overlay (in case template names are changed externally without respecting a hardcoded limit).
The icon of replacing the template should be adjusted as well. I recommend using the icons from Adwaita (best to use symbolic icons) which is typically a GTK default and other themes will adjust from it. You can use the GTK icon browser application to lookup them easily to pick one.
I'll make the changes as soon as I can.
I changed the alighments of the buttons and the icon. Was there anything else.
Yay! Thanks!
@TheJackiMonster I realized that because this PR had do many things in it it also had a fix for the character more info that would force them to use unique names for the first part because you use dictionaries to store the more info. Does that need merged to the gtk normal? Because without it, if you create things with duplicate names the data in the UI is not what is being stored.
For now I'll go with the same behavior as in the Qt version. So I think it would need to be addressed differently. In the Qt version you can actually store multiple values under the same name in the character detailed info.
OK, just this PR changed that so if you have something else in mind it'll have to be changed back (eventually)
I decided to do this on a new branch and new PR because it was easier.
This is the same PR as #1113