How to set width of p-tree

UI Components for Angular
Post Reply
alice99
Posts: 1
Joined: 04 Sep 2017, 16:51

04 Sep 2017, 16:55

hello, how do i change the width of a tree? <p-tree style="width:xxxpx"> doesn't seem to work

cagriertek
Posts: 1
Joined: 26 Oct 2022, 23:42

23 Jan 2023, 16:13

You can do it adding;

[style]="{width: '300px'}

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests