Using the Properties Palette

Note: In this documentation, the term "widget" refers to anything in the Maqetta Widgets palette, including HTML elements.

The Properties palette is located on the right side of the Maqetta workspace. When a file is opened in the Page Editor, the Properties palette will display panes that contain fields for setting properties on widgets and HTML elements (e.g. styles, events, widget-specific properties and HTML attributes).

All changes made in the Properties palette apply only to the currently selected widget, which is displayed at the top of the Properties palette and highlighted with a dark border on the Page Editor canvas. Any changes made from the Properties palette will be applied to this widget.

Topmost section: Current Selection and 'class' attribute

At the top of the Properties palette are two rows:

Properties Palette Slide-in Panes

Underneath the topmost section is the main editing area for the Properties palette. This main editing section has 3 levels of slide-in/slide-out panes:

Controls for Changing Values on Particular Properties

Drop-down input field
You can either type in a value or select one of the pre-set values in the drop-down list. As a guide, Maqetta provides the most commonly used CSS units for each property. You can select one of the drop-down values and then modify the value as applicable for your particular widget. auto is also provided for CSS properties for which that keyword is applicable (e.g. width:auto for centering, or overflow:auto for clearing floats).
Plus and Minus Controls
The plus and minus controls are to the right of numeric input fields. When there is a numeric value set in the field, clicking on the plus control will increment the value, and clicking on the minus control will decrement it. This is handy for fine-tuning the values as you view the effect on the selected widget in the page editor.
Go To Detailed CSS Control
The ">" icon to the far right of each property will take you to the Detailed CSS pane corresponding to the given property. For more information on the Detailed CSS panes, see "Creating Style Rules with app.css".

Properties Sections

Common Properties

The Common pane contains core HTML attributes that are common to all widgets and HTML elements.

Common
idThis is the standard 'id' attribute that is available on all elements in HTML.
titleBrowsers typically display this string as a tooltip when the mouse hovers over the given element.

Example showing how id and class are displayed in the Outline palette:

In the Outline palette you should see:

Widget Specific Properties

The Widget Specific pane contains properties that are specific to the type of widget that is selected. For example, most of the control widgets have a Disabled checkbox because controls can be enabled or disabled. Many of the container widgets have URL and Content properties where you can specify the content for the container. Some other examples: Check Box and Radio Button have a Checked property, MultiSelect has a Size property, and Calendar has a Day Width property.

Event Properties

The Events pane contains properties that control user events such as onclick, onmouseover and onfocus. In Maqetta you can use events to trigger a new application state, so these properties work in conjunction with the States palette. You define your states first, using the States palette, and then they will show up in the drop-down lists for all the event properties.

For example, say you want to display a tooltip dialog on a Button mouseover event. First configure a state that displays the tooltip. Then, with the Button selected, go to the onmouseover property in the Properties palette and select your tooltip state from the drop-down. See the tutorial Build a Task Manager (Application States) for a detailed example showing how to do this.

Events
all eventsSpecify the new state to display when the event occurs. More on events....

Layout Properties

These are CSS properties that control the dimension and positioning of widgets and HTML elements.

Notice how changes made in the Properties palette immediately affect the widget on the canvas (after you hit Enter or click off the input field). Likewise, changes you make by manipulating the widget on the canvas will immediately update the values in the corresponding fields in the Properties palette. For example, when you resize a widget on the canvas, the height and width is updated in the Properties palette.

Layout
width Widget width and height in CSS units.
height
show min/maxCheck this box to display the min/max properties. These properties overrule the normal width and height. Learn more...
min-widthMinimum width for this widget. Overrules the normal width.
max-widthMaximum width for this widget. Overrules the normal width.
min-heightMinimum height for this widget. Overrules the normal height.
max-hegithMaximum height for this widget. Overrules the normal height.
positionThis setting overrides the Maqetta system-wide positioning (see Preferences under the Maqetta Menu Bar) for this particular widget. Maqetta recommends using the default Maqetta positioning, then use this setting when you need a widget to be set to absolute positioning. (See this Maqetta tutorial for an example.) Also, the Switch layout toolbar button provides a convenient way to temporarily switch the layout setting (see the Page Editor Toolbar for details). Learn more about the CSS position property...
leftWhen using abslute positioning, this sets the x coordinate of the upper-left corner of the widget, relative to the page.
topWhen using abslute positioning, this sets the y coordinate of the upper-left corner of the widget, relative to the page.
displayLearn more...
opacitySets the opacity or transparency of the widget. Learn more...
box-shadow(New in CSS3) Creates a shadow effect on block-level elements. The property takes 3 lengths and a color. Learn more...
floatWith float, a widget can be pushed to the left or right, allowing other elements to wrap around it. (Float is ignored with absolute positioning.) Learn more...
clearUse clear to prevent floated elements from floating to the left or right of this widget. Learn more...
overflowSpecifies what happens if content overflows an element's box. Learn more...
Can also be used for clearing floats.
z-indexSpecifies the stack order of an elements, and only applies to positioned elements. Learn more...

Padding/Margins

The padding and margin can be set using either the shorthand (padding) and (margin) properties, which combine all the individual properties, or by using one or more of the individual properties.

Paddings/Margins
(padding)Sets the padding on all sides. Can have from one to four values. Learn more...
show t/r/b/lCheck this box to display the padding properties for individual sides.
topsets the top padding
rightsets the right padding
bottomsets the bottom padding
leftsets the left padding
(margin)Sets the margins on all sides. Can have from one to four values. Learn more...
show t/r/b/lCheck this box to display the margin properties for individual sides.
topsets the top margin
rightsets the right margin
bottomsets the bottom margin
leftsets the left margin

Background

Background
colorBackground color for the widget using the color picker.
image/gradientOptions are image or gradient.
background-image urlThe url for the background image. Learn more...
repeatSets if/how a background-image will be repeated. Learn more...
background-positionSets the starting position of a background image. Learn more...
background-size(New in CSS3) Can be used to stretch or shrink the background image. Learn more...
background-origin(New in CSS3) Determines how the background-position is calculated. Learn more...
background-clip(New in CSS3) Determines whether the bacgkround extends into the border area or not. Learn more...

Border

The border can be set using either the shorthand (border) property, which combines all the individual border properties, or by using one or more of the individual border properties.

Border
(border)Syntax: border-width border-style border-color Learn more...
showUse this drop-down to select which individual border properties to display.
border-widthsets the border width for all sides
border-stylesets the border style for all sides
border-colorsets the border color for all sides
border-topsets the top border width, style and/or color
border-rightsets the right border width, style and/or color
border-bottomsets the bottom border width, style and/or color
border-leftsets the left border width, style and/or color
border-top-widthsets the top border width
border-top-stylesets the top border style
border-top-colorsets the top border color
border-right-widthsets the right border width
border-right-stylesets the right border style
border-right-colorsets the right border color
border-bottom-widthsets the bottom border width
border-bottom-stylesets the bottom border style
border-bottom-colorsets the bottom border color
border-left-widthsets the left border width
border-left-stylesets the left border style
border-left-colorsets the left border color
(border-radius)(CSS3) Creates rounded corners. The border-*-radius properties can each accept either one or two values, expressed as a length or a percentage. Learn more...
show detailsCheck this box to display the border-radius properties for each individual corner.
border-top-left-radiussets the radius for the top-left corner
border-top-right-radiussets the radius for the top-right corner
border-bottom-right-radiussets the radius for the bottom-right corner
border-bottom-left-radiussets the radius for the bottom-left corner

Fonts and Text

Fonts and Text
fontSets all the font properties in one declaration. Learn more...
font-familySets the font for text. Learn more...
sizeSets the font size for text. Learn more...
colorSets the text color. Learn more...
font-weightSets the font weight for text. Learn more...
font-styleSets the font style for text. Learn more...
text-decorationAdds decoration to the text. Learn more...
text-alignAligns the text horizontally. Learn more...
vertical-alignAligns the text verically. Learn more...
white-spaceSets how white space inside an element is handled. Learn more...
text-indentIndents the first line of text in an element. Learn more...
line-heightSets the difference between lines. Learn more...

Previous / Next