Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace LayoutBox with FlowBox/HBox/VBox #1420

Closed
27 tasks done
pixelzoom opened this issue May 31, 2022 · 6 comments
Closed
27 tasks done

Replace LayoutBox with FlowBox/HBox/VBox #1420

pixelzoom opened this issue May 31, 2022 · 6 comments

Comments

@pixelzoom
Copy link
Contributor

pixelzoom commented May 31, 2022

LayoutBox was deprecated for phetsims/sun#48, and FlowBox/HBox/VBox should now be used. Use HBox or VBox is your orientation is fixed. Use FlowBox if your orientation is computed.

Common-code uses should be converted eagerly, sim uses can be converted as needed.

common code:

sims:

@pixelzoom pixelzoom changed the title Replace LayoutBox with FlowBox Replace LayoutBox with FlowBox/HBox/VBox May 31, 2022
pixelzoom added a commit to phetsims/beers-law-lab that referenced this issue May 31, 2022
pixelzoom added a commit to phetsims/ph-scale that referenced this issue May 31, 2022
pixelzoom added a commit to phetsims/chains that referenced this issue May 31, 2022
pixelzoom referenced this issue in phetsims/scenery-phet May 31, 2022
pixelzoom referenced this issue in phetsims/scenery-phet May 31, 2022
pixelzoom referenced this issue in phetsims/energy-forms-and-changes May 31, 2022
pixelzoom referenced this issue in phetsims/coulombs-law May 31, 2022
pixelzoom referenced this issue in phetsims/charges-and-fields May 31, 2022
pixelzoom referenced this issue in phetsims/equality-explorer May 31, 2022
pixelzoom referenced this issue in phetsims/fourier-making-waves May 31, 2022
pixelzoom referenced this issue in phetsims/fourier-making-waves May 31, 2022
pixelzoom referenced this issue in phetsims/reactants-products-and-leftovers May 31, 2022
pixelzoom referenced this issue in phetsims/vector-addition May 31, 2022
pixelzoom referenced this issue in phetsims/molecule-polarity May 31, 2022
pixelzoom referenced this issue in phetsims/graphing-lines May 31, 2022
pixelzoom added a commit to phetsims/scenery-phet that referenced this issue May 31, 2022
pixelzoom added a commit to phetsims/scenery-phet that referenced this issue May 31, 2022
pixelzoom added a commit to phetsims/sun that referenced this issue May 31, 2022
pixelzoom added a commit to phetsims/sun that referenced this issue May 31, 2022
pixelzoom added a commit to phetsims/joist that referenced this issue May 31, 2022
jbphet added a commit to phetsims/number-line-distance that referenced this issue Jun 3, 2022
@jbphet
Copy link
Contributor

jbphet commented Jun 3, 2022

@jbphet be aware that converting number-line-distance to FlowBox is going to be trouble. You're using a negative distance between children, and that's not supported by FlowBox.

This has been handled, see phetsims/number-line-distance#73 for details.

@jbphet jbphet removed their assignment Jun 3, 2022
@samreid samreid removed their assignment Jun 14, 2022
samreid added a commit to phetsims/bamboo that referenced this issue Jun 14, 2022
jonathanolson added a commit to phetsims/area-model-common that referenced this issue Sep 20, 2022
…oving a LayoutBox instance for phetsims/scenery#1420. Matrix3 rotations improved to have true zeros for Math.PI/2 rotations
jonathanolson added a commit to phetsims/blackbody-spectrum that referenced this issue Sep 20, 2022
…oving a LayoutBox instance for phetsims/scenery#1420. Matrix3 rotations improved to have true zeros for Math.PI/2 rotations
jonathanolson added a commit to phetsims/collision-lab that referenced this issue Sep 20, 2022
…oving a LayoutBox instance for phetsims/scenery#1420. Matrix3 rotations improved to have true zeros for Math.PI/2 rotations
jonathanolson added a commit to phetsims/dot that referenced this issue Sep 20, 2022
…oving a LayoutBox instance for phetsims/scenery#1420. Matrix3 rotations improved to have true zeros for Math.PI/2 rotations
jonathanolson added a commit to phetsims/mobius that referenced this issue Sep 20, 2022
…oving a LayoutBox instance for phetsims/scenery#1420. Matrix3 rotations improved to have true zeros for Math.PI/2 rotations
jonathanolson added a commit to phetsims/phet-core that referenced this issue Sep 20, 2022
…oving a LayoutBox instance for phetsims/scenery#1420. Matrix3 rotations improved to have true zeros for Math.PI/2 rotations
jonathanolson added a commit that referenced this issue Sep 20, 2022
…x instance for #1420. Matrix3 rotations improved to have true zeros for Math.PI/2 rotations
jonathanolson added a commit to phetsims/area-model-common that referenced this issue Sep 20, 2022
jonathanolson added a commit to phetsims/bamboo that referenced this issue Sep 20, 2022
jonathanolson added a commit to phetsims/collision-lab that referenced this issue Sep 20, 2022
jonathanolson added a commit to phetsims/fourier-making-waves that referenced this issue Sep 20, 2022
jonathanolson added a commit to phetsims/joist that referenced this issue Sep 20, 2022
jonathanolson added a commit to phetsims/phet-core that referenced this issue Sep 20, 2022
jonathanolson added a commit to phetsims/phet-info that referenced this issue Sep 20, 2022
jonathanolson added a commit that referenced this issue Sep 20, 2022
jonathanolson added a commit to phetsims/vector-addition that referenced this issue Sep 20, 2022
@jonathanolson
Copy link
Contributor

Removed all LayoutBox cases, closing!

pixelzoom added a commit to phetsims/fourier-making-waves that referenced this issue Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants