protected override void OnResize(EventArgs e) { base.OnResize(e); SetPadSizes(); this.contentUpdated = true; this.axisBottom?.SetBounds(this.canvasLeftOffset, Width - this.canvasRightOffset, Height - this.canvasBottomOffset); Invalidate(); }