Commit e4296db0 authored by Christoph Cullmann's avatar Christoph Cullmann

enable document mode for the tabbar we have

parent 2d4c501b
......@@ -44,9 +44,21 @@ Q_DECLARE_METATYPE(KateTabButtonData)
KateTabBar::KateTabBar(QWidget *parent)
: QTabBar(parent)
{
// enable document mode, docs tell this will trigger:
// On macOS this will look similar to the tabs in Safari or Sierra's Terminal.app.
// this seems reasonable for our document tabs
setDocumentMode(true);
// we want drag and drop
setAcceptDrops(true);
// use as much size as possible for each tab
setExpanding(true);
// document close function should be there
setTabsClosable(true);
// allow users to re-arrange the tabs
setMovable(true);
}
......
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