Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 30cc14d

Browse files
committed
Use stretch placement for search box.
1 parent d201359 commit 30cc14d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/GitHub.VisualStudio/UI/GitHubPane.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,15 @@ public override void ClearSearch()
120120
}
121121
}
122122

123+
public override void OnToolWindowCreated()
124+
{
125+
base.OnToolWindowCreated();
126+
127+
((IVsWindowFrame)Frame)?.SetProperty(
128+
(int)__VSFPROPID5.VSFPROPID_SearchPlacement,
129+
__VSSEARCHPLACEMENT.SP_STRETCH);
130+
}
131+
123132
void UpdateSearchHost(bool enabled, string query)
124133
{
125134
if (SearchHost != null)

0 commit comments

Comments
 (0)