Commit 8691849b authored by J-P Nurmi's avatar J-P Nurmi Committed by The Qt Project
Browse files

Revise and align ToolBar & StatusBar size calculation


Instead of preferring the layout size, and only using the panel size
as a fallback, take the maximum of the two. This way styles can provide
a default size that will be respected. Furthermore, replace unnecessary
function calls with declarative property bindings.

Change-Id: Iabc59c694ac8c8302cea72f53c9177462d7f146c
Reviewed-by: default avatarGabriel de Dietrich <gabriel.dedietrich@digia.com>
parent efacf765
Showing with 31 additions and 23 deletions
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