-
-
Notifications
You must be signed in to change notification settings - Fork 104
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
Generic implementation for Alignment #150
Comments
Thanks for the hint. |
If a custom formatter is used, the default formatter will not be called. That's why there's no alignment. |
Should |
Yeah it makes sense to do that. Its confusing to a user at the moment as its only applied when 1 type of formatter is used. |
Still thinking about what's better to add to
Feature for v3. |
Isn't it essentially the same thing for all of them? If the formatter handles the item then apply the alignment. Maybe it could be handled in a generic way so that it does not need to be implemented by each formatter? |
Will consider this option, too. Definitely a feature request. |
version/v3: |
Closed with "Alignment option always available" (#174) |
Hi,
Im looking at one of the examples in the code:
Placeholder.cs has this example:
"{Items.Length,10:choose(1,2,3):one|two|three}"
For some reason the alignment is not being applied. It looks like its only done in the Default Formatter and its not being applied in this example for me. Any ideas? Also I had to change it to use | instead of , for the format values.
The text was updated successfully, but these errors were encountered: