mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
[apps] Fix typo: left->right
Change-Id: I23264def129f59bfcfe991088fbfaf2c925b23b0
This commit is contained in:
@@ -60,7 +60,7 @@ void TitleBarView::layoutSubviews() {
|
||||
m_titleView.setFrame(KDRect(0, 2, bounds().width(), bounds().height()-2));
|
||||
m_preferenceView.setFrame(KDRect(k_preferenceMargin, 0, m_preferenceView.minimalSizeForOptimalDisplay().width(), bounds().height()));
|
||||
KDSize batterySize = m_batteryView.minimalSizeForOptimalDisplay();
|
||||
m_batteryView.setFrame(KDRect(bounds().width() - batterySize.width() - k_batteryLeftMargin, (bounds().height()- batterySize.height())/2, batterySize));
|
||||
m_batteryView.setFrame(KDRect(bounds().width() - batterySize.width() - k_batteryRightMargin, (bounds().height()- batterySize.height())/2, batterySize));
|
||||
if (GlobalPreferences::sharedGlobalPreferences()->examMode() == GlobalPreferences::ExamMode::Activate) {
|
||||
m_examModeIconView.setFrame(KDRect(k_examIconMargin, (bounds().height() - k_examIconHeight)/2, k_examIconWidth, k_examIconHeight));
|
||||
} else {
|
||||
|
||||
@@ -14,7 +14,7 @@ public:
|
||||
bool setIsCharging(bool isCharging);
|
||||
void refreshPreferences();
|
||||
private:
|
||||
constexpr static KDCoordinate k_batteryLeftMargin = 5;
|
||||
constexpr static KDCoordinate k_batteryRightMargin = 5;
|
||||
constexpr static KDCoordinate k_preferenceMargin = 3;
|
||||
constexpr static KDCoordinate k_examIconWidth = 18;
|
||||
constexpr static KDCoordinate k_examIconHeight = 9;
|
||||
|
||||
Reference in New Issue
Block a user