﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
12420	[patch] make summaries of primitive counts in SelectionList Dialog clickable	cmuelle8	cmuelle8	"Please find attached a patch that enhances ToggleDialog's TitleBar.

It allows to perform actions when parts of the title of a ToggleDialog is clicked. It shows a tooltip to inform users about this possibility. If clicking a part of a title does not make sense (or if the dialog is collapsed), the event is dispatched to the parent. This means most of the title space is still taken to properly collapse/uncollapse the dialog.

I've exchanged the GridBagLayout for the GroupLayout - this allows to drop workaround code that wrapped the original title label within a weaker component to not take away space for the buttons when ToggleDialogs were resized to be narrow.

Currently this feature is used for SelectionList dialog - it allows users to quickly sub-select the ways / nodes / or relations contained in the selection list.

It works only when docked, as there is no easy way to add listeners to the window title of a detached dialog.

Great care was taken to test it, but please test the code once more, before you apply it.


Thanks,
cmuelle8"	enhancement	closed	normal		Core	latest	needinfo		Klumbumbus
