Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

statusstrip labels overlap each-other

Status
Not open for further replies.

VBmim

Programmer
Jun 25, 2001
361
BE
Hello,

I have a window with a statusstrip. In this statusstrip there are several statuslabels. One of them is a filler (spring = true) to be able to have status labels to the left and the others to the right. On the left there is one plain text statuslabel, then a link statuslabel, then the filler, then there are 4 picture statuslabels (which can be clicked upon). When I resize the window and the space is too small for all the texts and pictures to be shown, the picture statuslabels overlap the link statuslabel (but not the text statuslabel).

I would want the statuslabels not to overlap at all but I cannot seem to find which property(-ties?) are responsible for the overlapping...

Enough space:
--------------------------------------------------------------|
Textstatuslabel|LinkStatuslabel| |icon|icon|
--------------------------------------------------------------|

Window too small:
--------------------------------|
Textstatuslabel|L|icon|icon|
--------------------------------|

What I would want to achieve:
---------------------------------------|
Textstatuslabel|LinkStatuslabel|Ic|
---------------------------------------|

Kind greetings,

c#Mim
 
Remove the docking, anchor it to the bottom and left, but not the right.

Have autosize set to true for all the controls in the status strip except the filler. You will have to control the width of the filler statuslabel in the form.resize() event handler yourself but it should work how you want it to.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top