Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic No gap between the Node and the node name (NodeListView) (Read 885 times)
jose_au
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 3
Joined: Apr 10th, 2020
No gap between the Node and the node name (NodeListView)
May 9th, 2022 at 3:29am
Print Post  
Hi,

I am struggling to render the nodelist in an accordion style view using boostrap 4.


<div class="card">
    <div class="card-header">
        <a class="card-link" data-toggle="collapse" href="#allNodes">
            <div class="text-left" style="float: left;">All Shapes</div>
            <div class="text-right">></div>
        </a>
    </div>
    <div id='allNodes' class="card-body p-1 collapse">
        @Html.NodeListView(nodeListView,
            new { style = "height: 500px; width:''!important;" });
    </div>
</div>

As you can see the initial state of the accordion is collapsed. So I expect this to not render in the background. However, the NodeListView does render but there is no gap between the NodeShape and the name (see screenshot).

Any ideas how I can add some gaps?



  

Screenshot_2022-05-09_132648.png ( 11 KB | 93 Downloads )
Screenshot_2022-05-09_132648.png
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3154
Joined: Oct 19th, 2005
Re: No gap between the Node and the node name (NodeListView)
Reply #1 - May 9th, 2022 at 9:33am
Print Post  
Hi,

That seems to work with current version of the control -
https://mindfusion.eu/_samples/Accordion.zip

Problem might have to do with initial visibility of the list view, was fixed at some point before a November 2020 release of our standalone JS library mentioned here -
https://mindfusion.eu/Forum/YaBB.pl?num=1615385530/7#7

You might check if you have access to more recent MVC versions than that at your https://www.clientsarea.eu/ account page.

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