summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue1026.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue1026.cs')
-rw-r--r--Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue1026.cs91
1 files changed, 91 insertions, 0 deletions
diff --git a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue1026.cs b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue1026.cs
new file mode 100644
index 00000000..58c2b646
--- /dev/null
+++ b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue1026.cs
@@ -0,0 +1,91 @@
+using Xamarin.Forms.CustomAttributes;
+
+namespace Xamarin.Forms.Controls
+{
+ [Preserve (AllMembers=true)]
+ [Issue (IssueTracker.Github, 1026, "Label cropping", PlatformAffected.iOS | PlatformAffected.WinPhone, NavigationBehavior.PushModalAsync)]
+ public class Issue1026 : ContentPage
+ {
+ public Issue1026 ()
+ {
+ BackgroundColor = Color.FromHex("#dae1eb");
+ Content =
+ new ScrollView {
+ Content =
+ new StackLayout {
+ Padding = new Thickness (0, 18),
+ Spacing = 10,
+ Orientation = StackOrientation.Vertical,
+ Children = {
+ new Button {
+ BackgroundColor = Color.FromHex ("#006599"),
+ TextColor = Color.White,
+ Text = "Subscribe with LinkedIn",
+ WidthRequest = 262,
+ HorizontalOptions = LayoutOptions.Center,
+ BorderRadius = 0,
+ },
+// new Label {
+// Text = "or by email",
+// TextColor = Color.FromHex ("#666"),
+// XAlign = TextAlignment.Center,
+// Font = Font.SystemFontOfSize (NamedSize.Small),
+// WidthRequest = 262,
+// HorizontalOptions = LayoutOptions.Center,
+// },
+ new Entry {
+ Placeholder = "Professional email",
+ WidthRequest = 262,
+ HorizontalOptions = LayoutOptions.Center,
+ Keyboard = Keyboard.Email,
+ },
+ new Entry {
+ Placeholder = "Firstname",
+ WidthRequest = 262,
+ HorizontalOptions = LayoutOptions.Center,
+ },
+ new Entry {
+ Placeholder = "Lastname",
+ WidthRequest = 262,
+ HorizontalOptions = LayoutOptions.Center,
+ },
+ new Entry {
+ Placeholder = "Company",
+ WidthRequest = 262,
+ HorizontalOptions = LayoutOptions.Center,
+ },
+ new Entry {
+ Placeholder = "Password",
+ WidthRequest = 262,
+ IsPassword = true,
+ HorizontalOptions = LayoutOptions.Center,
+ },
+ new Entry {
+ Placeholder = "Confirm password",
+ WidthRequest = 262,
+ IsPassword = true,
+ HorizontalOptions = LayoutOptions.Center,
+ },
+ new Button {
+ BackgroundColor = Color.FromHex ("#05addc"),
+ TextColor = Color.White,
+ Text = "Create an account",
+ WidthRequest = 262,
+ HorizontalOptions = LayoutOptions.Center,
+ BorderRadius = 0,
+ },
+ new Label {
+ Text = "by subscribing, you accept the general conditions.",
+ TextColor = Color.White,
+ XAlign = TextAlignment.Center,
+ Font = Font.SystemFontOfSize (NamedSize.Micro),
+ WidthRequest = 262,
+ HorizontalOptions = LayoutOptions.Center,
+ },
+ },
+ },
+
+ };
+ }
+ }
+} \ No newline at end of file