Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

メニュー項目の高さ計算でマージン分をDPIに合わせて調整 #512

Merged
merged 1 commit into from
Oct 3, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sakura_core/uiparts/CMenuDrawer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ void CMenuDrawer::ResetContents( void )
m_nMenuFontHeight = lf.lfHeight;
}
}
m_nMenuHeight = m_nMenuFontHeight + 4; // margin
m_nMenuHeight = m_nMenuFontHeight + DpiScaleY(4); // margin
if( m_pShareData->m_Common.m_sWindow.m_bMenuIcon ){
// 最低アイコン分の高さを確保
if( 20 > m_nMenuHeight ){
Expand Down