Skip to content
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

[iOS] Add vertical text alignment to Editor #5996

Merged
merged 2 commits into from
Apr 14, 2022
Merged

[iOS] Add vertical text alignment to Editor #5996

merged 2 commits into from
Apr 14, 2022

Conversation

rmarinho
Copy link
Member

@rmarinho rmarinho commented Apr 12, 2022

Description of Change

Add a way to align vertically the text on UITextView

Simulator Screen Shot - iPhone SE (3rd generation) - 2022-04-12 at 14 47 25

Issues Fixed

Fixes #391

@jsuarezruiz
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@rmarinho rmarinho requested a review from jsuarezruiz April 12, 2022 13:48
@Eilon Eilon added the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label Apr 12, 2022
@rmarinho rmarinho requested a review from hartez April 12, 2022 18:12
@@ -100,6 +100,11 @@ public static void UpdateHorizontalTextAlignment(this UITextView textView, IEdit
textView.TextAlignment = editor.HorizontalTextAlignment.ToPlatformHorizontal().AdjustForFlowDirection(editor);
}

public static void UpdateVerticalTextAlignment(this MauiTextView textView, IEditor editor)
{
textView.VerticalTextAlignment = editor.VerticalTextAlignment;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be great to add a DeviceTest.

@rmarinho rmarinho merged commit 8b69749 into main Apr 14, 2022
@rmarinho rmarinho deleted the fix-391 branch April 14, 2022 18:14
@github-actions github-actions bot locked and limited conversation to collaborators Dec 21, 2023
@Eilon Eilon removed the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label May 10, 2024
@samhouts samhouts added the fixed-in-6.0.300-rc.2 Look for this fix in 6.0.300-rc.2! label Aug 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[iOS] Port Editor.VerticalTextAlignment to Handler
4 participants