Vertical tabs (#1815)
* Vertical tabs * Vertical tab wrapping * Fix formatting * Cleanup code * Updated changelog * Hide button row if no buttons exist * Fix tab width expansion Co-authored-by: fourtf <tf.four@gmail.com>
This commit is contained in:
@@ -64,6 +64,9 @@ Window::Window(WindowType type)
|
||||
if (type == WindowType::Main)
|
||||
{
|
||||
this->resize(int(600 * this->scale()), int(500 * this->scale()));
|
||||
getSettings()->tabDirection.connect([this](int val) {
|
||||
this->notebook_->setTabDirection(NotebookTabDirection(val));
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user