SetStyles set the folder styles overriding the default style
(fs *ControlFolderStyles)
| 96 | |
| 97 | // SetStyles set the folder styles overriding the default style |
| 98 | func (f *ControlFolder) SetStyles(fs *ControlFolderStyles) { |
| 99 | |
| 100 | f.styles = fs |
| 101 | |
| 102 | f.Folder.styles = fs.Folder |
| 103 | f.tree.styles = fs.Tree |
| 104 | |
| 105 | f.tree.update() |
| 106 | f.Folder.update() |
| 107 | |
| 108 | } |
| 109 | |
| 110 | // AddCheckBox adds a checkbox to the control folder group |
| 111 | func (g *ControlFolderGroup) AddCheckBox(text string) *CheckRadio { |