diff options
Diffstat (limited to 'support/openharmony/entry/src/main/ets/pages/Index.ets')
-rw-r--r-- | support/openharmony/entry/src/main/ets/pages/Index.ets | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/support/openharmony/entry/src/main/ets/pages/Index.ets b/support/openharmony/entry/src/main/ets/pages/Index.ets index 1d84d4478db..9c6cb06537b 100644 --- a/support/openharmony/entry/src/main/ets/pages/Index.ets +++ b/support/openharmony/entry/src/main/ets/pages/Index.ets @@ -76,7 +76,10 @@ struct Index { } build() { - Column() { + // We originally use `Column()` here, but for some reason the column + // extends beyond the edge of the screen. This does not happen with + // Flex. + Flex({ direction: FlexDirection.Column}) { Row() { Button('⇦').backgroundColor(Color.White) .fontColor(Color.Black) |