Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Why don't my R2012a multi-line uibuttongroup titles work in R2015a?

조회 수: 1 (최근 30일)
Jim
Jim 2015년 6월 1일
마감: MATLAB Answer Bot 2021년 8월 20일
My programmatically-created GUI includes uibuttongroups with multi-line titles. These are defined as cell arrays of strings, and in R2012a they render just fine. We're upgrading to R2015a, and only the first lines of these titles appear. I've tried redefining them as strings with embedded char(10) characters, as multi-row string arrays, and by using sprintf with the format string '%s\n' to convert a cell array to a string. None of these attempts work; they result in either just the first line appearing or the newline is ignored. Is there a way to restore this functionality?

답변 (1개)

Cindy Solomon
Cindy Solomon 2015년 6월 2일
Hi Jim,
The graphics system underwent a major overhaul in MATLAB R2014b and based on the aesthetics of multi-line titles with UIPanels or UIButton groups, this usage was removed. Hope this helps!
  댓글 수: 1
Jim
Jim 2015년 6월 2일
Hi Cindy, Can you be a little more explicit about the aesthetics? I have multiple uibuttongroups side by side in a GUI figure, and multi-line titles saves horizontal space.

이 질문은 마감되었습니다.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by