Skip to content

Commit fd6776c

Browse files
committed
Fix sizing bug in Auto-Type Entry Selection from
Bugfix: When *search-as-you-type* is active, the width of the list containing the matching entries could be off
1 parent 4578b9f commit fd6776c

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

src/AlternateAutoType.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -388,9 +388,10 @@ private void AddSearchfield(AutoTypeCtxForm f)
388388
tbSearch.Dock = lvShownEntries.Dock = DockStyle.None;
389389
lvShownEntries.Top += tbSearch.Height + iGap -1;
390390
lvShownEntries.Height = iHeight - tbSearch.Height - iGap;
391-
}
391+
lvShownEntries.Width = lvShownEntries.Parent.ClientSize.Width - lvShownEntries.Parent.Padding.Left - lvShownEntries.Parent.Padding.Right;
392+
}
392393

393-
private void OnFilterSearchResults(object sender, EventArgs e)
394+
private void OnFilterSearchResults(object sender, EventArgs e)
394395
{
395396
TextBox tbSearch = sender as TextBox;
396397
if (tbSearch == null) return;

src/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ KeePass types EITHER everything before OR everything after {AAT}.
2727
//
2828
// You can specify all the values or you can use the default the Revision and
2929
// Build Numbers by using the '*' as shown below:
30-
[assembly: AssemblyVersion("1.18")]
31-
[assembly: AssemblyFileVersion("1.18")]
30+
[assembly: AssemblyVersion("1.18.1")]
31+
[assembly: AssemblyFileVersion("1.18.1")]
3232
[assembly: Guid("78C152F3-EAF8-4FFC-9BE3-F5DC0CD66E5D")]
3333

version.info

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
:
2-
AlternateAutoType:1.18
2+
AlternateAutoType:1.18.1
33
AlternateAutoType!de:5
44
AlternateAutoType!pt:1
55
AlternateAutoType!ru:4

0 commit comments

Comments
 (0)