Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Thanks Marble Eater. I already tried both of those. I forgot to mention that the StatuStrip is in a SplitContainer. Not sure if that makes a difference?

 

Try either setting the SizingGrip property to False or setting the last panel's Spring property to True.
Posted

Actually it is using XP Visual Style. Thanks anyway.

 

I'm reaching here' date=' but it looks like your using Windows 2000 visual style. Does changing to XP Visual Style have an impact on the positioning?[/quote']
  • Leaders
Posted (edited)

You application is using visual styles? Did you make a call to Application.EnableVisualStyles before Application.Run (or did you enable visual styles in the project settings)? Because it certainly looks like they are being rendered with the old 3D graphics.

[Edit]I assumed the status strip had an XP look. Never mind.[/edit]

Edited by snarfblam
[sIGPIC]e[/sIGPIC]
Posted

I know I'm using XP style (rounded 3d edges etc) in one of my applications and upon further inspection the space is present there too. It just happens to be covered up with a size grip and isn't very noticable. The spacing seems to be a perfect fit for a size grip. Perhaps the spacing is there to play nicely with a form's size grip? If that spacing weren't there, text in your status strip might be covered when you enable the form's size grip and I bet it's pretty complicated to get the satus strip to shift automatically depending on whether a size grip is enabled or not.

 

But that really doesn't help you get rid of it. Sorry.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...