Skip to content

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