You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When bulk editing the language of the resources in Arabic the text is not right aligned with the radio buttons. This is also the case at the Content library in the Language filter.
I think I saw this some time ago. This is an issue with KCheckbox and KRadioButton applying dir: auto to the label, (e.g. here) and this makes that the alignment takes the dir of the text rather than the dir of the user language. The solution would be to remove that dir prop on the label, but I dont know if this is going to bring any inconsistency somewhere. Do you have any thoughts about this @nucleogenesis@MisRob?
I think for now at least we can add a prop to disable this behaviour.
Perhaps more general labelDirection or labelDir prop would make sense. We could have it set by default to 'auto' so that it doesn't break any of the existing places, but it would be ready to accept any other dir values such as 'ltr', 'rtl'. This would have benefit of being aligned with the native platform.
Activity
pcenov commentedon Sep 12, 2024
@radinamatic
AlexVelezLl commentedon Sep 12, 2024
I think I saw this some time ago. This is an issue with KCheckbox and KRadioButton applying
dir: autoto the label, (e.g. here) and this makes that the alignment takes the dir of the text rather than the dir of the user language. The solution would be to remove that dir prop on the label, but I dont know if this is going to bring any inconsistency somewhere. Do you have any thoughts about this @nucleogenesis @MisRob?I think for now at least we can add a prop to disable this behaviour.
MisRob commentedon Sep 13, 2024
Yes @AlexVelezLl, that makes sense to me. Thank you.
MisRob commentedon Sep 13, 2024
Perhaps more general
labelDirectionorlabelDirprop would make sense. We could have it set by default to'auto'so that it doesn't break any of the existing places, but it would be ready to accept any otherdirvalues such as'ltr','rtl'. This would have benefit of being aligned with the native platform.