<table><tr><td style="">filipf added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D25726">View Revision</a></tr></table><br /><div><div><p>So we also fix this by setting:</p>

<p><tt style="background: #ebebeb; font-size: 13px;"> d->moduleView()->setFaceType(KPageView::List);</tt></p>

<p>But then then a sidebar shows up even if there is only 1 category.</p>

<p>So just need to check for the number of categories and do <tt style="background: #ebebeb; font-size: 13px;">List</tt> if > 1, otherwise <tt style="background: #ebebeb; font-size: 13px;">Plain</tt>.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R124 System Settings</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D25726">https://phabricator.kde.org/D25726</a></div></div><br /><div><strong>To: </strong>filipf, Plasma, davidedmundson<br /><strong>Cc: </strong>davidedmundson, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart<br /></div>