projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a05e8f
)
Fix the layout of the job status view on OS X (#1005)
author
Carl Hetherington
<cth@carlh.net>
Wed, 16 Nov 2016 00:27:40 +0000
(
00:27
+0000)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 16 Nov 2016 11:19:49 +0000
(11:19 +0000)
src/wx/job_view.cc
patch
|
blob
|
history
diff --git
a/src/wx/job_view.cc
b/src/wx/job_view.cc
index 0734151229044ff12fecba25d6352540d2854ff7..c14734998fd5df9f9a36d7ff7b43f739a242b861 100644
(file)
--- a/
src/wx/job_view.cc
+++ b/
src/wx/job_view.cc
@@
-93,6
+93,9
@@
JobView::progress ()
whole += _job->status ();
if (whole != _last_message) {
_message->SetLabelMarkup (std_to_wx (whole));
+ /* This hack fixes the size of _message on OS X */
+ _message->InvalidateBestSize ();
+ _message->SetSize (_message->GetBestSize ());
_gauge_message->Layout ();
_last_message = whole;
}