If right clicking on a portlet or layout you can choose the alternative Properties. A window with properties will open. Here you can change the margins, settings and decoration settings.Most of the tabs exists for both portlets and layouts but there are also tabs that only are visible if a portlet or layout is selected.