Add a "scroll view" chapter to the first steps document
This commit is contained in:
parent
439b8310ef
commit
e3b226b10d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue