ProgressNS / nativescript-ui-feedback

This repository is used for customer feedback regarding Telerik UI for NativeScript. The issues system here is used by customers who want to submit their feature requests or vote for existing ones.
Other
115 stars 21 forks source link

No method to center an element inside a RadListView with an explicit height !! #1223

Closed devToudert closed 5 years ago

devToudert commented 5 years ago

Can not center an elements of a RadViewList in the middle of the screen in a nativescript-angular app. I tried several methods without result: FlexBoxLayout, horizontalAlignment and verticalAligmnent, inline css, css display flex..

See my code in the Playground: https://play.nativescript.org/?template=play-ng&id=acMEE0&v=2 ScreenShot of what I want to have: https://ibb.co/tXq9QqV Asked for in stackoverflow: https://stackoverflow.com/questions/57656400/center-items-in-radlistview-in-nativescript

tsonevn commented 5 years ago

Hi @devToudert In your case, you can use FlexboxLayout while setting to the alignSelf to center for the Label. Check out the sample here.

support[bot] commented 5 years ago

:wave: @devToudert, we use the issue tracker exclusively for bug reports and feature requests. However, this issue appears to be a support request. Please, use Stackoverflow to get help.