Update TitleBar icon

This commit is contained in:
Balkron
2020-11-05 02:07:09 +05:00
parent 071a4b513a
commit c4b469ea41
2 changed files with 9 additions and 7 deletions

View File

@@ -35,16 +35,17 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>26</width>
<height>26</height>
<width>20</width>
<height>20</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>26</width>
<height>26</height>
<width>20</width>
<height>20</height>
</size>
</property>
<property name="focusPolicy">
@@ -56,8 +57,8 @@
</property>
<property name="iconSize">
<size>
<width>24</width>
<height>24</height>
<width>20</width>
<height>20</height>
</size>
</property>
</widget>

View File

@@ -65,7 +65,8 @@ namespace noggit
_menuBar = menuBar();
titleBarWidget.horizontalLayout->insertWidget(1, _menuBar);
_menuBar->setMaximumHeight(20);
titleBarWidget.iconButton->setAccessibleName("titlebar_icon");
titleBarWidget.minimizeButton->setIcon(font_awesome_icon(font_awesome::windowminimize));
titleBarWidget.minimizeButton->setIconSize(QSize(14, 14));
titleBarWidget.minimizeButton->setAccessibleName("titlebar_minimize");