widelands-dev team mailing list archive
-
widelands-dev team
-
Mailing list archive
-
Message #00595
[Merge] lp:~alocritani/widelands/bugfix-912486 into lp:widelands
Angelo Locritani has proposed merging lp:~alocritani/widelands/bugfix-912486 into lp:widelands.
Requested reviews:
Widelands Developers (widelands-dev)
Related bugs:
Bug #912486 in widelands: "Maximum FPS button overlaps language list in options on higher resolutions"
https://bugs.launchpad.net/widelands/+bug/912486
For more details, see:
https://code.launchpad.net/~alocritani/widelands/bugfix-912486/+merge/89547
My pc doesn't support resolution higher than 1024x768, but I think it solved the problem. Can someone please test it?
--
https://code.launchpad.net/~alocritani/widelands/bugfix-912486/+merge/89547
Your team Widelands Developers is requested to review the proposed merge of lp:~alocritani/widelands/bugfix-912486 into lp:widelands.
=== modified file 'src/ui_fsmenu/options.cc'
--- src/ui_fsmenu/options.cc 2011-12-04 18:18:22 +0000
+++ src/ui_fsmenu/options.cc 2012-01-21 16:59:26 +0000
@@ -63,7 +63,7 @@
// Spinboxes
m_sb_maxfps
(this,
- get_w() / 2, get_h() * 3833 / 10000, get_w() / 5, m_vbutw,
+ (get_w() / 2) - (m_vbutw * 2), get_h() * 3833 / 10000, get_w() / 5, m_vbutw,
opt.maxfps, 0, 100, "",
g_gr->get_picture(PicMod_UI, "pics/but1.png")),
m_sb_autosave
Follow ups