Skip to content

Toogle visibility of custom title bar based on fullscreen state#814

Merged
githubuser0xFFFF merged 1 commit intogithubuser0xFFFF:masterfrom
Ext3h:fullscreen_support
Feb 16, 2026
Merged

Toogle visibility of custom title bar based on fullscreen state#814
githubuser0xFFFF merged 1 commit intogithubuser0xFFFF:masterfrom
Ext3h:fullscreen_support

Conversation

@Ext3h
Copy link

@Ext3h Ext3h commented Feb 12, 2026

When using CFloatingDockContainer with a custom title bar, correctly respond to fullscreen window state by hiding the titlebar.

QDockWidgetLayout::titleHeight() is trying to reserve space even when the titlebar is technically already hidden, so override the size-hint in that case.

This enables use of CFloatingDockContainer::showFullScreen() on floating docks in systems where the non-native title-bar is used.

@githubuser0xFFFF
Copy link
Owner

Thank you.

@githubuser0xFFFF githubuser0xFFFF merged commit dd83812 into githubuser0xFFFF:master Feb 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants