HP Smart Zero Core 4.4 Administrator Guide

Table B-26 Login screen > Text > max-height (continued)
Type Description
Default Not applicable
Use If the text would otherwise turn out to be taller than the size
given, it is scaled down to fit the height specified.
Customizing the client login dialog box
This section provides examples that describe how to customize the client login dialog box.
Figure B-1 Components in the client login dialog box
The client login dialog box uses one directory per connection type plus a default style that specifies
the style elements of the connection’s background image and the login window style.
The registry entries specify the directories in which these files are stored and can be modified to point
to custom directories. Within a style’s directory, files with the .qss suffix customize the style
elements of the login area.
The *.qss files are Qt stylesheets. For more information about Qt stylesheets, see
http://qt-project.org/.
Most of the elements in the login area can be customized using qss-style elements. Each has been
assigned an ID so they are easily addressable using the #elementID selector.
Customizing the central frame
This section provides an example of different ways to customize the central area of the login dialog
box.
QFrame#centralFrame {
/* Sea green dialog
background color */ background-color: rgb(46,139,87);
/* Rounded, thicker borders */
border-width: 6px;
border-radius:
16px;
/* Make sure it is at least 400 pixels wide */
56 Appendix B Customizing the client login screen