3b1b / 3b1b/manim

Is there a built in way to align the top of an object with the bottom of another object?

オープン
#617 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
93.9k
フォーク
7.7k
平均マージ
2日 13時間
マージ済み PR(30日)
4

説明

sorry for the stupid question but here is what i'm trying to do:

` self.subtitle.move_to(x_axis).next_to(title, DOWN)
`

I'm trying to center subtitle with x_axis while making sure it is under subtitle. move_to moves it to the center of x_axis, but then next_to moves it to the center of title and DOWN. is there a way to move it just DOWN without centering it to title.

I tried align_to but it didnt work, since align_to, DOWN, aligns the bottom of subtitle to the bottom of title, i need it to be under.

Any help would be greatly appreciated.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。