aboutsummaryrefslogtreecommitdiff
path: root/src/ui/controls/linear_layout.h
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2018-10-04 01:47:49 +0800
committercrupest <crupest@outlook.com>2018-10-04 01:47:49 +0800
commit01ab4511d3006e9f65ff96ae63b21de14b41bc48 (patch)
treee4fa991e7784571c164301ff7ade5aa1ef515744 /src/ui/controls/linear_layout.h
parent30ecda8bb354d5982978af97aa90b5f49d9ea195 (diff)
downloadcru-01ab4511d3006e9f65ff96ae63b21de14b41bc48.tar.gz
cru-01ab4511d3006e9f65ff96ae63b21de14b41bc48.tar.bz2
cru-01ab4511d3006e9f65ff96ae63b21de14b41bc48.zip
...
Diffstat (limited to 'src/ui/controls/linear_layout.h')
-rw-r--r--src/ui/controls/linear_layout.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/controls/linear_layout.h b/src/ui/controls/linear_layout.h
index 369824d4..997f28ea 100644
--- a/src/ui/controls/linear_layout.h
+++ b/src/ui/controls/linear_layout.h
@@ -32,8 +32,8 @@ namespace cru::ui::controls
~LinearLayout() override = default;
protected:
- Size OnMeasure(const Size& available_size) override;
- void OnLayout(const Rect& rect) override;
+ Size OnMeasureContent(const Size& available_size) override;
+ void OnLayoutContent(const Rect& rect) override;
private:
Orientation orientation_;