From a8f3913deacb9f65d1c401542e16955653c718b4 Mon Sep 17 00:00:00 2001 From: Kimura Youichi Date: Sun, 12 Nov 2017 05:22:01 +0900 Subject: [PATCH] =?utf8?q?UserInfoDialog=E3=81=A7=E3=81=AE=E3=83=97?= =?utf8?q?=E3=83=AD=E3=83=95=E3=82=A3=E3=83=BC=E3=83=AB=E7=B7=A8=E9=9B=86?= =?utf8?q?=E6=99=82=E3=81=ABTextBox.MaxLength=E3=81=AB=E3=82=88=E3=82=8B?= =?utf8?q?=E6=96=87=E5=AD=97=E9=95=B7=E3=83=81=E3=82=A7=E3=83=83=E3=82=AF?= =?utf8?q?=E3=82=92=E8=A1=8C=E3=82=8F=E3=81=AA=E3=81=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 名前に 50 文字のテキストが利用可能になったことと、TextBox.MaxLength がサロゲートペアを 適切にカウントできない問題が存在するため TextBox.MaxLength の設定を削除する --- OpenTween/Resources/ChangeLog.txt | 1 + OpenTween/UserInfoDialog.cs | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/OpenTween/Resources/ChangeLog.txt b/OpenTween/Resources/ChangeLog.txt index d7f7d795..19256066 100644 --- a/OpenTween/Resources/ChangeLog.txt +++ b/OpenTween/Resources/ChangeLog.txt @@ -4,6 +4,7 @@ * NEW: ツイート文字数の280文字への上限緩和に対応しました - Twitter公式クライアントなどと同様に、入力する文字種によって文字数の扱いが異なるものになります - DMの送信時に行われる文字数のカウントは従来通りのままです + * NEW: プロフィール編集時に名前欄に50文字のテキストが入力可能になりました * CHG: 画像投稿の対応サービスから「img.ly」「yfrog」「ついっぷるフォト」を削除 - アップデート前にこれらのサービスを投稿先に選択していた場合は「Twitter」に変更されます * CHG: 画像投稿のキャンセル時に選択中の画像表示を閉じないように動作を変更 diff --git a/OpenTween/UserInfoDialog.cs b/OpenTween/UserInfoDialog.cs index 5ca03425..c2ee6dc5 100644 --- a/OpenTween/UserInfoDialog.cs +++ b/OpenTween/UserInfoDialog.cs @@ -309,25 +309,21 @@ namespace OpenTween this.TextBoxName.Height = this.LabelName.Height; this.TextBoxName.Width = this.LabelName.Width; this.TextBoxName.BackColor = this.mainForm.InputBackColor; - this.TextBoxName.MaxLength = 20; this.TextBoxLocation.Location = this.LabelLocation.Location; this.TextBoxLocation.Height = this.LabelLocation.Height; this.TextBoxLocation.Width = this.LabelLocation.Width; this.TextBoxLocation.BackColor = this.mainForm.InputBackColor; - this.TextBoxLocation.MaxLength = 30; this.TextBoxWeb.Location = this.LinkLabelWeb.Location; this.TextBoxWeb.Height = this.LinkLabelWeb.Height; this.TextBoxWeb.Width = this.LinkLabelWeb.Width; this.TextBoxWeb.BackColor = this.mainForm.InputBackColor; - this.TextBoxWeb.MaxLength = 100; this.TextBoxDescription.Location = this.DescriptionBrowser.Location; this.TextBoxDescription.Height = this.DescriptionBrowser.Height; this.TextBoxDescription.Width = this.DescriptionBrowser.Width; this.TextBoxDescription.BackColor = this.mainForm.InputBackColor; - this.TextBoxDescription.MaxLength = 160; this.TextBoxDescription.Multiline = true; this.TextBoxDescription.ScrollBars = ScrollBars.Vertical; } -- 2.11.0