SetAlignRight sets the side of the alignment of the content panel in relation to the folder.
(state bool)
| 100 | // SetAlignRight sets the side of the alignment of the content panel |
| 101 | // in relation to the folder. |
| 102 | func (f *Folder) SetAlignRight(state bool) { |
| 103 | |
| 104 | f.alignRight = state |
| 105 | f.recalc() |
| 106 | } |
| 107 | |
| 108 | // Height returns this folder total height |
| 109 | // considering the contents panel, if visible. |