Implement methods to change padding

This commit is contained in:
Ecmel B. CANLIER
2018-08-27 10:55:41 +03:00
committed by Chih-Hsuan Yen
parent e331bd4c67
commit 8eba2e2d3b
3 changed files with 18 additions and 2 deletions
+10
View File
@@ -764,3 +764,13 @@ void QTermWidget::cursorChanged(Konsole::Emulation::KeyboardCursorShape cursorSh
setKeyboardCursorShape(cursorShape);
setBlinkingCursor(blinkingCursorEnabled);
}
void QTermWidget::setMargin(int margin)
{
m_impl->m_terminalDisplay->setMargin(margin);
}
int QTermWidget::getMargin() const
{
return m_impl->m_terminalDisplay->margin();
}