Skip to content

Commit

Permalink
调整tabbar的布局策略
Browse files Browse the repository at this point in the history
  • Loading branch information
czyt1988 committed Jul 15, 2024
1 parent c6d36c7 commit 0d7e062
Show file tree
Hide file tree
Showing 8 changed files with 2,641 additions and 2,610 deletions.
2,565 changes: 1,289 additions & 1,276 deletions src/SARibbonBar/SARibbonBar.cpp

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/SARibbonBar/resource/theme-dark.qss
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ SARibbonTabBar::tab {
margin-left: 5px;
margin-bottom: 0px;
min-width: 50px;
min-height: 25px;
min-height: 28px;
padding-left: 5px;
padding-right: 5px;
}
Expand Down
2 changes: 1 addition & 1 deletion src/SARibbonBar/resource/theme-dark2.qss
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ SARibbonTabBar::tab {
margin-left: 5px;
margin-bottom: 0px;
min-width: 50px;
min-height: 25px;
min-height: 28px;
padding-left: 5px;
padding-right: 5px;
}
Expand Down
2 changes: 1 addition & 1 deletion src/SARibbonBar/resource/theme-office2013.qss
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ SARibbonTabBar::tab {
margin-left: 5px;
margin-bottom: 0px;
min-width: 50px;
min-height: 25px;
min-height: 28px;/*此参数不设置,会导致底部内容露出来*/
}

SARibbonTabBar::tab:selected {
Expand Down
2 changes: 1 addition & 1 deletion src/SARibbonBar/resource/theme-office2016-blue.qss
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,8 @@ SARibbonTabBar::tab {
margin-right: 0px;
margin-left: 5px;
margin-bottom: 0px;
min-height: 28px;/*此参数不设置,会导致底部内容露出来*/
min-width: 50px;
min-height: 25px;
padding-left: 5px;
padding-right: 5px;
}
Expand Down
2 changes: 1 addition & 1 deletion src/SARibbonBar/resource/theme-office2021-blue.qss
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ SARibbonTabBar::tab {
margin-left: 5px;
margin-bottom: 0px;
min-width: 50px;
min-height: 25px;
min-height: 27px;/*此参数不设置,会导致底部内容露出来*/
padding-left: 0px;
padding-right: 0px;
padding-top: -4px;
Expand Down
2 changes: 1 addition & 1 deletion src/SARibbonBar/resource/theme-win7.qss
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ SARibbonTabBar::tab {
margin-left: 5px;
margin-bottom: 0px;
min-width: 50px;
min-height: 25px;
min-height: 28px;
padding-left: 5px;
padding-right: 5px;
}
Expand Down
2,674 changes: 1,346 additions & 1,328 deletions src/example/MainWindowExample/mainwindow.cpp

Large diffs are not rendered by default.

0 comments on commit 0d7e062

Please sign in to comment.