Skip to content

Commit

Permalink
Merge branch 'dev' of https://gitee.com/czyt1988/SARibbon into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
czyt1988 committed Dec 28, 2023
2 parents 0ad92cc + 778cbd0 commit bc9a3b2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
cmake_minimum_required(VERSION 3.5)

set(SARIBBON_VERSION_MAJOR 1)
set(SARIBBON_VERSION_MINOR 0)
set(SARIBBON_VERSION_PATCH 7)
set(SARIBBON_VERSION_MINOR 1)
set(SARIBBON_VERSION_PATCH 1)
set(SARIBBON_VERSION "${SARIBBON_VERSION_MAJOR}.${SARIBBON_VERSION_MINOR}.${SARIBBON_VERSION_PATCH}")
project(SARibbon VERSION ${SARIBBON_VERSION} LANGUAGES CXX)

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*
* MIT License
*
* Copyright (C) 2021-2023 by wangwenx190 (Yuhang Zhao)
Expand Down
8 changes: 6 additions & 2 deletions src/SARibbonBar/SARibbonGlobal.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
@note My native language is not English, and most of the translation of documents is machine translation
版本记录(change log):
- 2023-12-25 -> 1.1.1
修正了SARibbonBar的布局过程对窗体隐藏的判断方式,使得在窗口没显示时也能正确布局
- 2023-12-25 -> 1.1.0
修正了尺寸刷新的问题,在首次显示不会出现控件跳动的状态
修正了一些问题
Expand Down Expand Up @@ -119,7 +121,7 @@
* @def ribbon的数字版本 MAJ.MIN.{PAT}
*/
#ifndef SA_RIBBON_BAR_VERSION_PAT
#define SA_RIBBON_BAR_VERSION_PAT 0
#define SA_RIBBON_BAR_VERSION_PAT 1
#endif

#ifndef SA_RIBBON_BAR_NO_EXPORT
Expand Down Expand Up @@ -178,6 +180,8 @@ enum class SARibbonAlignment
*/
// #define SARIBBON_USE_3RDPARTY_FRAMELESSHELPER 0



#if (QT_VERSION >= QT_VERSION_CHECK(5, 11, 0))
#ifndef SA_FONTMETRICS_WIDTH
#define SA_FONTMETRICS_WIDTH(fm, str) fm.horizontalAdvance(str)
Expand Down

0 comments on commit bc9a3b2

Please sign in to comment.