开发者

Setting header text of a DisclosurePanel dynamically while preserving the arrow icon?

开发者 https://www.devze.com 2023-01-15 09:10 出处:网络
I\'d like to set the text in DisclosurePanel\'s header without having to re-construct the image/icon used by the default header.

I'd like to set the text in DisclosurePanel's header without having to re-construct the image/icon used by the default header.

Using customHeader means the arrow-icon is lost, in other words tha开发者_如何学Ct seems like unreasonable amount of extra work.

EDIT: There's actually method for that, getHeaderTextAccessor(String)


getHeaderTextAccessor(String)

0

精彩评论

暂无评论...
验证码 换一张
取 消