You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a question regarding the behavior of the horizontal_centered layout in egui. According to the documentation, the behavior of "horizontal_centered" is clearly defined, and it describes centering the entire layout vertically after a horizontal layout. However, this behavior seems to conflict with the typical usage of "horizontal," which is commonly understood to refer to centering along the X-axis.
My understanding is that horizontal_centered in egui means "first do horizontal layout, then center the entire layout vertically," which results in vertical centering instead. This behavior, while explicitly described in the documentation, seems counterintuitive given the usual meaning of "horizontal."
Would it be possible to revert this to the more common meaning of horizontal centering, or perhaps consider a more descriptive name to avoid confusion for users who might expect the traditional behavior?
Thanks in advance!
The text was updated successfully, but these errors were encountered:
hi there
I have a question regarding the behavior of the horizontal_centered layout in egui. According to the documentation, the behavior of "horizontal_centered" is clearly defined, and it describes centering the entire layout vertically after a horizontal layout. However, this behavior seems to conflict with the typical usage of "horizontal," which is commonly understood to refer to centering along the X-axis.
My understanding is that horizontal_centered in egui means "first do horizontal layout, then center the entire layout vertically," which results in vertical centering instead. This behavior, while explicitly described in the documentation, seems counterintuitive given the usual meaning of "horizontal."
Would it be possible to revert this to the more common meaning of horizontal centering, or perhaps consider a more descriptive name to avoid confusion for users who might expect the traditional behavior?
Thanks in advance!
The text was updated successfully, but these errors were encountered: