summaryrefslogtreecommitdiff
path: root/shutdown
diff options
authorBrandon Schaefer <brandontschaefer@gmail.com>2014-05-06 14:21:49 -0700
committerBrandon Schaefer <brandontschaefer@gmail.com>2014-05-06 14:21:49 -0700
commitc8392e039bafebc6daadcd349d9562ea7de42476 (patch)
tree9e35282288b7b41ff13d5fb8d171aaf20a1bc943 /shutdown
parent0268d0258d953ae8273ca1fa04a0b169e66b16bd (diff)
* Scale the closeable window button as well.
* TODO Window border, a bit more tricky... (bzr r3788.4.6)
Diffstat (limited to 'shutdown')
-rw-r--r--shutdown/SessionView.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/shutdown/SessionView.cpp b/shutdown/SessionView.cpp
index 623500dce..ee34af9db 100644
--- a/shutdown/SessionView.cpp
+++ b/shutdown/SessionView.cpp
@@ -114,6 +114,9 @@ void View::UpdateViewSize()
title_->SetScale(cv_->DPIScale());
subtitle_->SetScale(cv_->DPIScale());
+ style()->scale = cv_->DPIScale();
+
+ ReloadCloseButtonTexture();
buttons_layout_->SetSpaceBetweenChildren(cv_->CP(style::BUTTONS_SPACE));