Ensure the KotoExpander's "label" + icon button is response to clicks.
This increases the overall clickable area rather than limiting it to just the expander pan button.
This commit is contained in:
parent
ddf4b73c46
commit
0c1b4d9c47
1 changed files with 1 additions and 0 deletions
|
@ -199,6 +199,7 @@ static void koto_expander_init(KotoExpander * self) {
|
||||||
|
|
||||||
self->constructed = TRUE;
|
self->constructed = TRUE;
|
||||||
|
|
||||||
|
koto_button_add_click_handler(self->header_button, KOTO_BUTTON_CLICK_TYPE_PRIMARY, G_CALLBACK(koto_expander_toggle_content), self);
|
||||||
koto_button_add_click_handler(self->header_expand_button, KOTO_BUTTON_CLICK_TYPE_PRIMARY, G_CALLBACK(koto_expander_toggle_content), self);
|
koto_button_add_click_handler(self->header_expand_button, KOTO_BUTTON_CLICK_TYPE_PRIMARY, G_CALLBACK(koto_expander_toggle_content), self);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue