SalesView: Resize columns to content
This commit is contained in:
parent
f32f0afd6a
commit
65f5da45ec
1 changed files with 1 additions and 0 deletions
|
@ -42,6 +42,7 @@ MainWindow::MainWindow()
|
||||||
|
|
||||||
setWindowTitle("KIMA2 - Kasse Nr. " + QSettings().value("global/cashPointNo").toString());
|
setWindowTitle("KIMA2 - Kasse Nr. " + QSettings().value("global/cashPointNo").toString());
|
||||||
|
|
||||||
|
ui_.salesView->header()->setSectionResizeMode(QHeaderView::ResizeToContents);
|
||||||
setSaleModel();
|
setSaleModel();
|
||||||
|
|
||||||
connect(ui_.actionQuit, &QAction::triggered, qApp, QApplication::quit);
|
connect(ui_.actionQuit, &QAction::triggered, qApp, QApplication::quit);
|
||||||
|
|
Loading…
Reference in a new issue