Commit 01054603 authored by Marko Kangas's avatar Marko Kangas
Browse files

Fix tab icon vertical alignment


Fixes case if custom icon size is given and height is more than width.
Check of minimum valid height was compared wrongly to width and caused invalid
vertical alignment. After fix vertical alignment is correct aligned to vertical
center with the tab text.

Change-Id: I6c4a710b15e91225edeabb629bfea7049ab2f42a
Task-number: QTBUG-42143
Reviewed-by: default avatarTimur Pocheptsov <Timur.Pocheptsov@digia.com>
Reviewed-by: default avatarJens Bache-Wiig <jensbw@gmail.com>
Showing with 1 addition and 1 deletion
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment