The status bar has been removed. Refer to the add-on bar.
An individual element of a statusbar
. This is a special type of button which is drawn differently. Unlike normal buttons, a statusbarpanel
can only have a label or an image but not both. This element is often used with a short label or icon to indicate status, for instance whether the user is online or whether there are new messages.
crop
, image
, label
image
, label
statusbarpanel-iconic
, statusbarpanel-iconic-text
, statusbarpanel-menu-iconic
<statusbar> <statusbarpanel label="Left panel"/> <spacer flex="1"/> <progressmeter mode="determined" value="82"/> <statusbarpanel label="Right panel"/> </statusbar>
crop
crop
attribute. An ellipsis will be used in place of the cropped text. If the box direction is reversed, the cropping is reversed.start
end
left
right
center
none
none
and the displayed text is larger than this maximum width, you may be able to use the max-width CSS property (or the maxwidth attribute) to override this size. For example, for a menuitem in a menu you can add the following CSS rule when you want to use the value none
:menupopup > menuitem, menupopup > menu { max-width: none; }
Inherited Properties |
The following classes may be used to style the element. These classes should be used instead of changing the style of the element directly since they will fit more naturally with the user's selected theme.
statusbarpanel-iconic
statusbarpanel
. Specify the image using the src
attribute. The image will appear instead of the label.statusbarpanel-iconic-text
statusbarpanel
as well as a text label. Specify the image using the src
attribute. Specify the text using the label
attribute. The image will appear before the label.statusbarpanel-menu-iconic
statusbarpanel
, and also allow a popup menu. Specify the image using the src
attribute, and place a menupopup
element inside the statusbarpanel
. The image will appear instead of the label.statusbar