Add a "scroll view" chapter to the first steps document

This commit is contained in:
Markus Gans 2019-03-24 20:17:54 +01:00
parent 439b8310ef
commit e3b226b10d
1 changed files with 3 additions and 2 deletions

View File

@ -17,6 +17,7 @@ Table of Contents
- [Callback method](#example-of-a-callback-function)
- [Custom signals](#send-custom-signals)
- [Dynamic layout](#dynamic-layout)
- [Scroll view](#scroll-view)
<!-- /TOC -->
@ -857,8 +858,8 @@ requires it. You can controll this behavior by the two methods
`setHorizontalScrollBarMode()` and `setVerticalScrollBarMode()`.
```cpp
setHorizontalScrollBarMode (fc::scrollBarMode)
setVerticalScrollBarMode (fc::scrollBarMode)
setHorizontalScrollBarMode (fc::scrollBarMode);
setVerticalScrollBarMode (fc::scrollBarMode);
```
You pass the scroll bar visibility mode as a value of the enum type