From 984bfca68ea2f1a7c6ec938c8da239c31965e63a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9a=20Saviot?= Date: Wed, 2 Oct 2019 12:14:02 +0200 Subject: [PATCH] [escher] ScrollView TODO comment --- escher/include/escher/scroll_view.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/escher/include/escher/scroll_view.h b/escher/include/escher/scroll_view.h index e2c2635ea..a5790af32 100644 --- a/escher/include/escher/scroll_view.h +++ b/escher/include/escher/scroll_view.h @@ -6,6 +6,13 @@ #include class ScrollView : public View { + +/* TODO: Should we add a reload method that forces the relayouting of the + * subviews? Or should ScrollView::setFrame always force the layouting of the + * subviews ? Because the scroll view frame might not change but its content + * might need to be relayouted. + * cf TableView, InputViewController, EditExpressionController. */ + public: ScrollView(View * contentView, ScrollViewDataSource * dataSource); ScrollView(ScrollView&& other);