Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

I'd like to have a Vertical TextBlock to render East Asian Text #2441

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

Closed
darthwing-duck opened this issue Aug 30, 2018 · 11 comments
Closed

I'd like to have a Vertical TextBlock to render East Asian Text #2441

darthwing-duck opened this issue Aug 30, 2018 · 11 comments
Labels

Comments

@darthwing-duck
Copy link

I'm submitting a...

Feature request (UserVoice request: )

Current behavior

XAML doesn't provide a way to render text vertically like so.
image

Expected behavior

It would be nice to have that behavior. There's already some discussion on the social sites:

https://social.msdn.microsoft.com/Forums/ja-JP/edd1f33c-e4a0-4717-ae88-99c7d787e711/content-12420-text

but no solution which is widespread.

@kbrons kbrons added controls 🎛️ feature request 📬 A request for new changes to improve functionality labels Aug 30, 2018
@michael-hawker
Copy link
Member

Thanks for submitting an issue @juma-msft. Can you file a UserVoice issue for this request as well? Thanks.

@skendrot
Copy link
Contributor

skendrot commented Sep 6, 2018

I think that would be the default behavior for the standard TextBlock when the culture is set...

@azchohfi
Copy link
Contributor

azchohfi commented Sep 6, 2018

The platform control doesn't currently support this, so we could only achieve this with a custom control.
(Edit: PS: Note: ... with performance.)

@skendrot
Copy link
Contributor

skendrot commented Sep 6, 2018

I understand, I'm saying it should be the default. This is something that should go directly into the platform

@mdtauk
Copy link

mdtauk commented Sep 6, 2018

Windows Phone 7/8 supported this with the in-built apps. Perhaps you could talk to team members who built the Windows Phone UI to see if they can offer any sample code that could be adapted.

Of course, it would be better for this to be built into the platform controls...

image

image

image

@nmetulev
Copy link
Contributor

Agree that this should be part of the platform, but, AFAIK, there are currently no plans. I've discussed offline with @juma-msft and this makes sense to add to the toolkit as a step to the platform and I'm all for it. But of course this is open to a discussion.

Another thing that's not mentioned here is that this is a C++ control. It would be a whole new binary and it could be a open the door for other native controls that provide the performance needed by some commercial scenarios.

@JustinXinLiu
Copy link
Contributor

Keep in mind that some Asian languages make sense for vertical alignment but this shouldn't be the default behavior.

My vote goes to support this in the toolkit.

@mdtauk
Copy link

mdtauk commented Oct 10, 2018

If this makes it down to the platform/Win UI level - it should be a property of something like TextOrientation Horizontal; Vertical; - which works alongside Left, Right, Centred, Justify - and possibly include Top, Middle, Bottom options as well. If the underlying Direct Write API supports something, surely the native/xaml controls should expose them.

@windowstoolkitbot
Copy link

This issue seems inactive. Do you need help to complete this issue?

@mdtauk
Copy link

mdtauk commented Jan 25, 2019

There is a control in development to address this issue Mr Bot.

@Kyaa-dost
Copy link
Contributor

Moving this to the discussion since it still requires more clarity.

@CommunityToolkit CommunityToolkit locked and limited conversation to collaborators Apr 2, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
Projects
None yet
Development

No branches or pull requests

10 participants