From e3b226b10d3ee87bb09a247cc1665103305d0463 Mon Sep 17 00:00:00 2001 From: Markus Gans Date: Sun, 24 Mar 2019 20:17:54 +0100 Subject: [PATCH] Add a "scroll view" chapter to the first steps document --- doc/first-steps.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/first-steps.md b/doc/first-steps.md index 6c56a369..93d6aaab 100644 --- a/doc/first-steps.md +++ b/doc/first-steps.md @@ -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) @@ -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