Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic need to set height of NodelistView canvas. (Read 1616 times)
Ankur shah
Junior Member
**
Offline


I Love MindFusion!

Posts: 63
Joined: Mar 16th, 2017
need to set height of NodelistView canvas.
Dec 14th, 2018 at 11:46am
Print Post  
How can we change the height and width of NodeListView canvas?
I am trying to give hard coded value for height and width but still it took default value

Code (HTML)
Select All
<div style="width:200px !important; height:45px !important;">
    <canvas id="nodeList" style="position: absolute;"></canvas>
</div>
 

  
Back to top
 
IP Logged
 
Lyubo
God Member
*****
Offline


MindFusion team

Posts: 511
Joined: Jun 17th, 2010
Re: need to set height of NodelistView canvas.
Reply #1 - Dec 14th, 2018 at 1:15pm
Print Post  
Hi,

The NodeListView canvas resizes itself in respect to its parent div, content and orientation. For example, you can set the width/height of the parent div of a vertically oriented NodeListView, it will fit itself in these dimensions, considering its content.

In your example above, you're running into issues probably because of the position style attribute. If you remove it, the control should fit inside its parent div.

Regards,
Lyubo
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint