Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xamarin/macdoc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremie Laval <jeremie.laval@gmail.com>2012-02-16 16:45:24 +0400
committerJeremie Laval <jeremie.laval@gmail.com>2012-02-16 16:45:24 +0400
commit5f1848e73756c9eb3e08a6ddcb139614fc74c62b (patch)
treefd2a991193e3cfa5f75a28948e369448a658e233 /BookmarkPopover.cs
parentd16fb479d3c812fb8c4d67fb32553fdbd78d5337 (diff)
[macdoc] reduce placeholder length and set truncate style
Diffstat (limited to 'BookmarkPopover.cs')
-rw-r--r--BookmarkPopover.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/BookmarkPopover.cs b/BookmarkPopover.cs
index 97d772b..e847d38 100644
--- a/BookmarkPopover.cs
+++ b/BookmarkPopover.cs
@@ -31,7 +31,8 @@ namespace macdoc
public void PostInitialization ()
{
nameField.StringValue = Name ?? string.Empty;
- notesField.PlaceholderString = "You can add additional notes to this bookmark if you wish";
+ notesField.PlaceholderString = "You can add additional notes to this bookmark";
+ notesField.LineBreakMode = NSLineBreakMode.TruncatingTail;
doneButton.Activated += (sender, e) => Done (this, new BookmarkEventArgs () { Name = nameField.StringValue, Notes = notesField.StringValue });
deleteButton.Activated += (sender, e) => Delete (this, EventArgs.Empty);
}