Skip to content

Commit a5bc2f3

Browse files
committed
style(platform): UIControlInspector: add scroll inside
1 parent a808001 commit a5bc2f3

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

doc/1.3.1.org

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2356,6 +2356,9 @@ TODO for publish
23562356

23572357

23582358

2359+
* DONE UIControlInspector: add scorller inside
2360+
2361+
23592362

23602363

23612364
* TODO update game repo

platform/frontend/src/external_layer/ui/app/assemble_space/components/element_assemble/ui_control_Inspector/components/UIControlInspector.res

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ module Method = {
551551
}}
552552
/>
553553
</Space>
554-
| #menuItems
554+
| #menuItems
555555
| #tabItems =>
556556
TextareaUtils.isNotShowTextareaForTest()
557557
? React.null
@@ -798,7 +798,10 @@ let make = (
798798
None
799799
}, [selectedContributes])
800800

801-
<Space direction=#vertical size=#middle>
801+
<Space
802+
direction=#vertical
803+
size=#middle
804+
style={ReactDOM.Style.make(~height="70%", ~overflow="scroll", ())}>
802805
{service.ui.buildTitle(. ~level=2, ~children={React.string(`Rect`)}, ())}
803806
<Space direction=#vertical>
804807
{Method.buildRectField(dispatch, Method.setRectX, id, "X", rect, x, rectXInputTarget)}

0 commit comments

Comments
 (0)