Hi PawButtox and welcome to Avast! forums.
What is extending Avast! itself or the Setting windows ? A screen capture would be nice. Anyways, you can resize the Avast! or the setting window to your liking just by dragging its borders. Also when you open Avast!, right click its tab at the tray bar to restore, maximize, or minimize its size.