Styles - WorkView - Foundation 24.1 - Foundation 24.1 - Ready - OnBase - Premier - external - Premier

WorkView

Platform
OnBase
Product
WorkView
Release
Foundation 24.1
License
Premier

The following styles can be configured for the view or screen from the Styles tab:

Option

Description

background color

--view-background-color

This option allows you to select the background color of the view/screen. Click on the ellipsis (...) button to access a color picker to select the color.

--view-background-image

This option allows you to set a background image for the view or screen. You can enter a link to the image from your local machine or a hyperlink.

--view-background-position

This option allows you to set the position of the background image.

--view-background-repeat

This option allows you to set whether the background image should repeat itself in the available view or screen space. Possible values:

  • repeat, which repeats the image horizontally and vertically
  • repeat-x, which repeats the image horizontally
  • repeat-y, which repeats the image vertically
  • space, which repeats the image horizontally and vertically without cropping it. If full multiple images cannot fit into the available space, white space is distributed evenly between the images
  • round, which repeats the image horizontally and vertically without cropping it. If full multiple images cannot fit into the available space, the image is stretched to fit the space
  • no-repeat, which does not repeat the image

You can use two-value syntax, where the first value represents the horizontal repetition, and the second value represents the vertical repetition. The following is an example for an image which will be repeated horizontally and not repeated vertically:repeat no-repeat

--view-font-family

This option allows you to set font family for the text on the view or screen. One or more family can be set, separated by commas.

--view-font-size

This option allows you to specify the size of the view or screen text. The value entered can be one of the following units of measure:

  • px - Pixels (This is the default unit and is used if no unit is specified.)

  • % - Percentage

  • in – Inches

  • cm – Centimeters

  • mm – Millimeters

  • em – An em unit is the current font size. If the font size is set to 16 pt and the element is set to 2em, the element will be 32 pt.

  • ex – An ex unit is equal to the x-height of the font.

  • pt – Points

  • pc – Picas

--view-font-weight

This option allows you to specify whether the text is on the view or screen normal or bold.

--base-border-radius

This option allows you to define how much the corners of objects on the view or screen are rounded.

The value can be defined with:

  • One value: applies to all four corners
  • Two values: top-left and bottom-right corners, and top-right and bottom-left corners
  • Three values: top-left corner, top-right and bottom-left corner, bottom-right corner
  • Four values: top-left corner, top-right corner, bottom-right corner, bottom-left corner

The value entered can be one of the following units of measure:

  • px - Pixels (This is the default unit and is used if no unit is specified.)

  • % - Percentage

  • in – Inches

  • cm – Centimeters

  • mm – Millimeters

  • em – An em unit is the current font size. If the font size is set to 16 pt and the element is set to 2em, the element will be 32 pt.

  • ex – An ex unit is equal to the x-height of the font.

  • pt – Points

  • pc – Picas

Note:

When properties can be configured on both the General and Styles tabs, the property changes will be properly displayed on both tabs.

To view the views within a class, expand the class, then the View folder. There are several right-click menus that are available when right-clicking on a view:

Option

Description

Duplicate View

Create a duplicated of the selected view.

Delete

Deletes the selected view.

Rename

Upon selecting this option, you can edit the name of the selected view under the Views folder in the Repositories pane.

Launch Designer

Opens the view.