mishrsud / mvc-mini-profiler

Automatically exported from code.google.com/p/mvc-mini-profiler
0 stars 0 forks source link

Change the positioning of the tab. #10

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
In our environment, we are already using the top left of the screen for a 
warning when the user is accessing the dev or staging environment (to avoid 
them thinking that their data is safe there.)

So, when we run mvc-mini-profiler, it shows up over the top of part of the 
message.

This is purely cosmetic for us, but this could potentially be obscuring 
functionality for others.

Would it be possible to provide an option to reposition the tab?

Original issue reported on code.google.com by Spoonful...@gmail.com on 9 Jun 2011 at 7:59

GoogleCodeExporter commented 8 years ago
I didn't notice the `MiniProfiler.Settings.RenderPopupButtonOnRight` property.

So, "Status Invalid", please.

Original comment by Spoonful...@gmail.com on 9 Jun 2011 at 9:57

GoogleCodeExporter commented 8 years ago
Yeah, it's not in a very discoverable place; I'll try to get better docs around 
it.

Original comment by jarrod.m.dixon on 9 Jun 2011 at 10:24

GoogleCodeExporter commented 8 years ago
You can now render in any supported positions (currently Left/Right) via an 
optional "position" parameter on .RenderIncludes(), like this:

@MiniProfiler.RenderIncludes(position: RenderPosition.Left)

MiniProfiler.Settings.RenderPopupButtonOnRight is obsoleted and will be removed 
in a later version (but of course does work for now).

Original comment by nrcraver on 9 Jun 2011 at 11:58

GoogleCodeExporter commented 8 years ago

Original comment by nrcraver on 11 Jun 2011 at 10:08