-
Notifications
You must be signed in to change notification settings - Fork 550
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
Input.Text and other Input types in Adaptive Cards doesn't have layout property "horizontalAlignment" #3230
Comments
@mamhh all inputs always use the full width available in their parent container, thus they don't support horizontal alignment because it would be meaningless (that's especially true for Input.Text.) |
So, if I want the text inside |
There is nothing to align... an Input.Text always uses the full width of its parent container. Maybe you could post an image of what you're trying to accomplish? |
Let me put it differently: if you were able to right align an Input.Text, what would the width of that Input.Text be? |
Your point is valid for English writing .. but for OTHER LANGUAGES , Arabic in my case , Arabic is written from Right to Left .. Below example may clarifies the point.. [عربي........] aligned to left --> current look. |
Ah... so you are asking about RTL support, which is a completely different thing. You don't want to explicitly set alignments to achieve RTL, you want the host to do the right thing automatically. For instance, a host would interpret RTL is something that a host must explicitly support. What is your scenario? Are you implementing a Bot? Are you displaying Adaptive Cards in your own application? If so, which SDK (renderer) are you using? |
Re #2139, which I've added to the 1.3 milestone for review |
@dclaux @matthidinger I'm implementing a bot that returns a form to be filled by user .. current rendering within the EMULATOR.. target channel (WEBCHAT) ..so do both currently support RTL ?? Should I follow the post referenced by @matthidinger ?? |
I unfortunately do not know whether Teams/WebChat support RTL. I have asked internally and will get back to you here if I get an answer. What Matt referenced is an issue that I opened to add explicit support for RTL in Adaptive Cards. That feature hasn't been implemented though, and Matt is saying we will consider it for the next AC release, namely 1.3. |
@dclaux .. target date of 1.3 plz ??? and if adaptive cards will support RTL, that means having them rendered within webchat will reflect that behavior?? Anyways .. I'm waiting more details about webchat once you got it ,,, |
@dclaux ... waiting for your response plz .... |
This issue has been automatically marked as stale because it has not had any activity for 5 days. |
Input.Text
and other Input types inAdaptive Cards
doesn't have layout property"horizontalAlignment"
.. which is very weird ... how can I overcome this limitation and make (Input.Text
) aligned toRight
instead of Left ???The text was updated successfully, but these errors were encountered: