Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I stop Visual Studio resizing the side panels when unpinned/pinned?

My standard VS2010 setup has the Solution Explorer docked on the left-hand side, with a few other panels (Class View, Team Explorer, etc.) tabbed behind it:

Visual Studio 2010 with Solution Explorer docked

However, if I click the pin icon to collapse that panel (to give me more space to work on my code), then later click the pin again to re-dock it, it always appears much thinner: see the second screenshot below.

Solution Explorer panel collapsed... enter image description here

And now re-docked. Gah! Thin! enter image description here

Is there any way to get Visual Studio to remember my preferred width for that panel? I'm forever re-sizing it and it drives me nuts. I've tried closing/restarting VS with the panel docked in the hope that it would persist but every time I hide/restore it it goes back to the thinner width.

like image 229
Mark Whitaker Avatar asked Feb 21 '12 12:02

Mark Whitaker


People also ask

How to move Solution Explorer tab in Visual Studio?

Just drag and drop onto the mechanic and dock the solution explorer window to the left side of the window.

How do I dock a tab in Visual Studio?

In Visual Studio IDE, click on Window -> Reset Window Layout -> Yes (Are you sure question). This will put the solution explorer back to the default layout docked to the right. It will also dock any other windows to their original position like Server Explorer, ToolBox, Text Explorer, Output, Error List to the left.

How do I dock a Solution Explorer in Visual Studio?

Right-click the new database project in Solution Explorer, and then select View in Object Explorer. When you do so, Visual Studio displays the SQL Server Object Explorer window, which enables you to access tables, views and other objects in your database. You can either float this window or leave it docked.


1 Answers

I struggled with this very same problem which is still present in VS2013 Update 4, and found the solution.

This problem only happens when the pinned tool is grouped with other tools.

For me it was "Properties" and "Find and Replace" that were grouped together on the right. I could not make them retain their size while they are unpinned/pinned until I ungroup the tools.

like image 179
Mik Avatar answered Oct 10 '22 03:10

Mik