[Android] Don't force the SetSingleLine() to true #234

Merged
merged 1 commit into from Aug 2, 2016

Projects

None yet

3 participants

@Depechie
Contributor

Description of Change

When using the SetSingleLine(true) in the base LabelRenderer on Android, developers won't be able to use the SetMaxLines() in their own Custom Renderers
later on.
So we force a single line by using the SetMaxLines(1) in the
base LabelRenderer and SetSingleLine(false)

@Depechie Depechie [Android] By using the SetSingleLine(true), the developers are no
longer able to use the SetMaxLines() in their own Custom Renderers
later on. So we force a single line by using the SetMaxLines(1) in the
base LabelRenderer and SetSingleLine(false)
ac7da36
@dnfclas
dnfclas commented Jun 21, 2016

Hi @Depechie, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, DNFBOT;

@Depechie Depechie changed the title from [Android] Don't force the SetSingleLinet to true to [Android] Don't force the SetSingleLine() to true Jun 21, 2016
@jassmith
Member

Needs manual testing to verify this doesn't screw with truncation.

@jassmith jassmith merged commit bfeffa7 into xamarin:master Aug 2, 2016

1 check failed

iOS7-UITests Finished TeamCity Build Xamarin.Forms :: UI Tests :: OSX Test Cloud Package - Run iOS Unified IOS7 : Tests failed: 1, passed: 336, ignored…
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment