Reset bounds origin of find panel fields after resizing (fix #381)

This commit is contained in:
1024jp 2015-05-29 12:44:35 +09:00
parent f63f4f8d53
commit d1204a17e6
4 changed files with 17 additions and 0 deletions

View File

@ -15,6 +15,7 @@ develop
### Fixes
- Fix an issue where the application could hang up on saving backup file.
- Fix an issue where the layout of the text fields in the find panel could rarely be broken.
- Fix an issue where the auto-update notifier did not recognize a new stable version from specific beta version numbers.
- Add some missing Localized strings in simplified Chinese. (Thanks to Wei Wang!)

View File

@ -46,6 +46,7 @@
<ul>
<li>Fix an issue where the application could hang up on saving backup file.</li>
<li>Fix an issue where the layout of the text fields in the find panel could rarely be broken.</li>
<li>Fix an issue where the auto-update notifier did not recognize a new stable version from specific beta version numbers.</li>
<li>Add some missing Localized strings in simplified Chinese. (Thanks to Wei Wang!)</li>
</ul>

View File

@ -46,6 +46,7 @@
<ul>
<li>バックアップファイル保存時にアプリケーションがハングすることがある不具合を修正</li>
<li>検索パネルのフィールドのレイアウトが稀に崩れることがあった不具合を修正</li>
<li>自動更新通知が特定のβバージョンナンバーから安定版のアップデートを認識できなかった不具合を修正</li>
<li>簡体中国語のローカライズが一部抜けていた不具合を修正 (Wei Wangさんに感謝!)</li>
</ul>

View File

@ -34,6 +34,20 @@
#pragma mark Superclass Methods
// ------------------------------------------------------
/// initialize
- (instancetype)initWithCoder:(NSCoder *)coder
// ------------------------------------------------------
{
self = [super initWithCoder:coder];
if (self) {
// make sure frame to be initialized (Otherwise input area can be arranged in a wrong place.)
[self setFrame:[self frame]];
}
return self;
}
// ------------------------------------------------------
/// add left padding for popup button
- (void)setFrame:(NSRect)frame