fixed the default height of the statusbar
This commit is contained in:
parent
a9a7e5ba01
commit
f1fd88d070
2 changed files with 6 additions and 4 deletions
|
@ -231,10 +231,6 @@ DockPage {
|
|||
|
||||
objectName: "notationStatusBar"
|
||||
|
||||
height: root.toolBarHeight
|
||||
minimumHeight: root.toolBarHeight
|
||||
maximumHeight: root.toolBarHeight
|
||||
|
||||
NotationStatusBar {
|
||||
color: root.color
|
||||
visible: root.pageModel.isStatusBarVisible
|
||||
|
|
|
@ -28,6 +28,12 @@ DockStatusBar::DockStatusBar(QQuickItem* parent)
|
|||
: DockBase(parent)
|
||||
{
|
||||
setAllowedAreas(Qt::BottomDockWidgetArea);
|
||||
|
||||
constexpr int STATUS_BAR_HEIGHT = 36;
|
||||
|
||||
setMinimumHeight(STATUS_BAR_HEIGHT);
|
||||
setMaximumHeight(STATUS_BAR_HEIGHT);
|
||||
setHeight(STATUS_BAR_HEIGHT);
|
||||
}
|
||||
|
||||
DockType DockStatusBar::type() const
|
||||
|
|
Loading…
Reference in a new issue