[vlc-commits] macosx: Improve horizontal resizing behaviour in simple prefs

David Fuhrmann git at videolan.org
Sat Sep 30 13:21:05 CEST 2017


vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Sat Sep 30 13:05:58 2017 +0200| [c3bc38681a5df113399ec4ba59d5f0d137a0223a] | committer: David Fuhrmann

macosx: Improve horizontal resizing behaviour in simple prefs

Layout popups / etc. in such a way that they increase size
in case of horizontal resize.
For labels, make sure:
- set single line mode to true, truncate
- set compression resistency to 750, so they do not get truncated
- set hugging priority to 251, so that popups get expanded, not labels
- With that, fixes some build warnings for functionality before 10.11

Also, set maximum frame size to current frame size. This should
disallow excessive horizontal resizes, whereas vertical resizes
are still ok.
Set better background color for scroll view.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c3bc38681a5df113399ec4ba59d5f0d137a0223a
---

 modules/gui/macosx/UI/SimplePreferences.xib | 367 ++++++++++++++--------------
 1 file changed, 181 insertions(+), 186 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=c3bc38681a5df113399ec4ba59d5f0d137a0223a


More information about the vlc-commits mailing list