Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
350 views
in Technique[技术] by (71.8m points)

expand - Set StyledText in SWT ExpandItem Title/Text

everyone. In an ExpandItem in SWT, Java you're able to set the title or header text of the ExpandItem by using the built-in method ExpandItem.setText(String text). This only supports String as input. I want to be able to use StyledText as title/header text of the ExpandItem. Is there a way to implement something like:

ExpandItem.setStyledText(StyledText text)

If not, what are my options? My main goal is to be able to change font style of the title/header text of ExpandItem. That's why I need StyledText.

question from:https://stackoverflow.com/questions/65857939/set-styledtext-in-swt-expanditem-title-text

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...