If you want text instead of buttons inside the navigation bar, use the w3-bar-item class to get the same padding as the buttons:
Used in a horizontal bar:
Used in a vertical bar: