-
-
Notifications
You must be signed in to change notification settings - Fork 367
Format gui xmls #10743
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: version/main
Are you sure you want to change the base?
Format gui xmls #10743
Conversation
<text size="110 11" pos="90 80" color="black" label="§n$(com.minecolonies.coremod.gui.citizen.family.partner):§r"/> | ||
<text id="partner" size="130 11" pos="50 95" color="black" textalign="MIDDLE"/> | ||
<text color="black" label="§n$(com.minecolonies.coremod.gui.citizen.family.parents):§r" pos="90 40" size="110 11"/> | ||
<text color="black" id="parentA" pos="50 51" size="130 11" textalign="MIDDLE"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we have more logical sorting for these? like id, pos, size going first (id -> size -> pos seems to be the most used one)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, Id like id/pos/size by alphabet
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't configure it that much since prettier can only do it fully by alphabet. I did look at this myself but I'm not sure if it's doable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can try and do this, draft this PR for now, whilst I modify the prettier plugin in the source to allow for such an option
Waiting on prettier/plugin-xml#860 |
Changes proposed in this pull request
Testing
Review please