Widget Connector width 900 url https://www.youtube.com/watch?v=LIlw-K9uClk&index=4&t=25s&list=PLbPt6SI1Zhb8CnWh7Gvopto7D6LEwcB9A height 500
Manage the styling of your forms to give your application a more aesthetically pleasing style. To recap the steps in the video:
Hide the UID
- Go into the configuration form for the grid attribute
UID
. - In Grid Settings, tick Hidden.
- Go into the configuration form for the field field
UID
. - In Style Settings tick Hidden.
Create an Area to
...
Hold Action Buttons
- Right-click on the lower pane of the screen, and click on Open Palette → Basic Components.
- Drag an Area onto the formNote, if . If you can't see the area area, right-click and select Find in Explorer.
- Enter the following settings for the area.
- Name:
SimpleButtonHolder
- Background Colour:
#9b9b9b
- Position Settings
- Width:
100%
- Height:
45px
- Bottom:
0px
- Width:
- Name:
- Use Find in Explorer to find the action buttons.
- Holding Hold the Shift key and drag the buttons onto the
SimpleButtonHolder
area. This will add the area into theSimpleButtonHolder
. - Go into the configuration form for the area
SimpleButtonHolder
. - Enter the settings:
- Direction: Row WrapWrap
Sets the area to a row layout. - Justify: Flex End
Sets Aligns the content of to the row to be right justified i.e.e the end right edge of the row. - Align: Center
Sets the vertical alignment of the row to the center.
- Direction: Row WrapWrap
Save your changes to see the results.
Update the
...
Style for the Delete
...
Button
- Go into the configuration form for the button
Delete
. - Open the section Style Settings and apply the following settings:
- Border Style: Solid
- Border Width: 3px
- Border Colour:
red
- Background Colour:
yellow
- Text Colour:
Black
Save your changes, close and reopen the dashboard to see the results.
Update
...
the Style for all
...
Buttons
- Go into the configuration form for a button - — you can use any button.
- Open the section Shared Styles.
- Open the shared style Button Style and set the following:
- Border Style: Solid
- Border Width:
3px
- Border Colour: any colour
- Background Colour: any colour
- Text Colour:
black
Save your changes to see the results. All buttons will update to reflect the new style settings, other than the Delete
button. The specific styling on the Delete
button overrides the styling applied through the shared style Button style Button Style.
Clear
...
Styles
- Clear your style settings on the
Delete
button. - Save your changes - the . The
Delete
button should now look the same as the other buttons. - Clear your style settings in the shared style
Button Style
. - You should see the styling for all buttons return to the default.
If you do not it may be necessary to see this change, you may need to close and reopen the dashboard.
Create a CSS
...
Property for a
...
Button
- Open the configuration form for the button Deletebutton
Delete
. - Go to the section CSS Properties.
- Press the + button to add a css CSS style.
- Enter the following settings:
- CSS Tag: background-color
- Value: #bdbdbd
- State: Mouse Over
Save your changes, close the dashboard and reopen it to review the result.
Tip |
---|
To access a colour picker within PhixFlow:
|
Create a Shared Style
- Open the configuration form for the shared style Button Style.
- Drag the CSS property you created for the
Delete
- Click the + button to add another style.
- Enter the settings:
- CSS Tag:
padding-right
- Value:
5px
- CSS Tag:
Save your changes. You should now see the mouse-over colour applied to all buttons.
Create a
...
Specific Style Override
- Open the configuration form for the button
Delete
. - Go to the section CSS Properties.
- Press the + button button to add a css CSS style.
- Enter the settings:
- CSS Tag:
background-colo
r - Value:
red
- CSS Tag:
Save your changes. You should now see the red mouse-over colour applied to the Delete
button.
Sort Order
- Open the configuration form for the button Addbutton
Add
. - Set Order to
3
. - Open the configuration form for the button Updatebutton
Update
. - Set Order to
2
. - Open the configuration form for the button
Delete
. - Set Order to
1
.
Save your changes, close the dashboard and reopen it to review the result.
Panel |
---|
Next video: 3. Designing Forms and Templates |
...