-
Notifications
You must be signed in to change notification settings - Fork 422
Common Scenarios
Dan Balasescu edited this page Apr 15, 2021
·
2 revisions
This page intends to contains a bunch of common scenarios which users may run into while using the framework, which may have straightforward but not immediately obvious answers. Each entry should be as brief as possible, and include a code sample where applicable.
This can be achieved by setting Depth
on cell content. Constructing a later cell with higher depth than a preceding one will allow it to handle input earlier.
public class RoundedLine : CompositeDrawable
{
private readonly Circle content;
public override Quad ScreenSpaceDrawQuad => content.ScreenSpaceDrawQuad;
public ExtendableCircle()
{
Padding = new MarginPadding { Horizontal = -circle_size / 2f };
InternalChild = content = new Circle
{
RelativeSizeAxes = Axes.Both
};
}
}
- Create your first project
- Learning framework key bindings
- Adding resource stores
- Adding custom key bindings
- Adding custom fonts