Commit fde05ea2 authored by Boudewijn Rempt's avatar Boudewijn Rempt

use tiled preview for patterns

parent 981a16b3
......@@ -43,6 +43,7 @@ KisPatternChooser::KisPatternChooser(QWidget *parent)
KoAbstractResourceServerAdapter* adapter = new KoResourceServerAdapter<KisPattern>(rserver);
m_itemChooser = new KoResourceItemChooser(adapter, this);
m_itemChooser->showPreview(true);
m_itemChooser->setPreviewTiled(true);
m_itemChooser->setPreviewOrientation(Qt::Horizontal);
QString knsrcFile = "kritapatterns.knsrc";
m_itemChooser->setKnsrcFile(knsrcFile);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment