Navbar Problems?

In the picture below you can see as I resize the window, the navbar shrinks a little also. I want to navbar to adjust with the window correctly. Anyone have an idea on how to fix this?? Thanks in advance.

I guess you are talking about the ToolBar.
Can you provide the locks and settings?

Yeah the toolbar. I guess I used to calling it the navbar from the bootstrap. Here are the settings below. Also there is more styles in the opening event of the custom toolbar.

Not sure what can cause the problem.

If you can create a sample project, we can take a look.