Abilitare JavaScript per vedere questo sito.

Imposta il testo del foglio di stile (qss) di uno specifico elemento UI.

Sintassi

void set_style_sheet(const string &in name, const string &in qss)

name

Nome dell'elemento UI

qss

Foglio di stile

Risultato

(nessuno)

Nota

Nel caso che l'elemento UI non supporti tale funzionalità, la richiesta verrà semplicemente ignorata.

Esempio di utilizzo:

ui::form @my_form;

 

/* Imposta foglio di stile per elemento UI item-1 */

my_form.set_style_sheet("item-1""margin: 2px; color: red;");

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC