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

Add ComponentSize property to UIComponent`1 #34

Closed
YevgeniyShunevych opened this issue May 30, 2017 · 0 comments
Closed

Add ComponentSize property to UIComponent`1 #34

YevgeniyShunevych opened this issue May 30, 2017 · 0 comments
Assignees
Labels
Milestone

Comments

@YevgeniyShunevych
Copy link
Member

YevgeniyShunevych commented May 30, 2017

Should provide access to the scope element's size (Width and Height).

control.ComponentSize.Width.Should.BeGreater(100);
int height = control.ComponentSize.Height;
@YevgeniyShunevych YevgeniyShunevych added this to the 0.13.0 milestone May 30, 2017
@YevgeniyShunevych YevgeniyShunevych self-assigned this May 30, 2017
YevgeniyShunevych added a commit that referenced this issue May 30, 2017
@YevgeniyShunevych YevgeniyShunevych changed the title Add Size to UIComponent`1 Add ComponentSize property to UIComponent`1 May 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant