Page 1 of 1

Button in full screen width in blank ionic app

Posted: Sat Dec 22, 2018 5:30 pm
by Pasteur Miranda

Hi,

I created a blank ionic application. In the screen "Screen1" I put a grid with a row and inside that row a button. Using "ng-repeat" in the gridrow, I created several buttons. So I set ng-responsive to large. When I run the application, the buttons occupy the full width of the screen, whatever the width of the screen. I noticed that this only occurs in a blank ionic application. I would like the buttons not to take up the full width of the screen, because I want that when the screen is maximized, several buttons appear on the same line, which does not happen in this case. How can I prevent the buttons from taking up the full width of the screen?

Thanks


Button in full screen width in blank ionic app

Posted: Wed Dec 26, 2018 5:55 pm
by Serhii Kulibaba

Hello Pasteur,

Please set the property "Width" of the button = "Inline" for that


Button in full screen width in blank ionic app

Posted: Wed Dec 26, 2018 7:55 pm
by Pasteur Miranda

Thank you very much, Serhii.