Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notebook Tabs: move padding to grid #763

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

felix-andreas
Copy link
Member

Fixes #523

Currently there is a padding around the Granite.Widgets.Tab. So clicks within the 3px edge of the tab are not registered and instead ripple through to the Granite.DynamicNotebook. This can lead to the problem, that when trying to close a tab with Middle or Three-FingerClick an old tab is restored instead.

Before (EventArea of GraniteWidgetsTab )
tab-before

After (EventArea of GraniteWidgetsTab )
tab-after

@felix-andreas
Copy link
Member Author

This also effects the context menu of the tabs. When right-clicking the within the 3px padding of a tab, instead of the context menu of the the tab the context menu of the tab-bar is shown.

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.

DynamicNotebook: Padding and border around Gtk.EventBox
1 participant