Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Conversation

@yeze322
Copy link
Contributor

@yeze322 yeze322 commented Feb 4, 2021

Description

closes #5637

With an extra 100px margin, the last case label of a SwitchConditon can be visible by scrolling right.
image

Task Item

Screenshots

boydc2014
boydc2014 previously approved these changes Feb 8, 2021
@boydc2014
Copy link
Contributor

@yeze322 UT for boundary test seems to be failed

FAIL adaptive-form packages/adaptive-flow/tests/adaptive-flow-renderer/layouters/calculateNodeBoundary.test.ts
● calculateSwitchCaseBoundary › should return a box whose property be calcalated by conditionBoundary, choiceBoundary, branchBoundaries

@coveralls
Copy link

coveralls commented Feb 8, 2021

Coverage Status

Coverage remained the same at 55.05% when pulling 75a9aed on yeze322:flow/switch-margin into fcad8c6 on microsoft:main.

@boydc2014 boydc2014 merged commit fef7929 into microsoft:main Feb 9, 2021
lei9444 pushed a commit to lei9444/BotFramework-Composer-1 that referenced this pull request Jun 15, 2021
…ndition) (microsoft#5693)

* add 100px marign right for branching nodes

* fix UT

* UT: switch node size

Co-authored-by: Lu Han <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wide switch statements don't show last condition

4 participants