Skip to content

Commit 41a08d0

Browse files
committed
title style fixes for Toolbar
1 parent d521fda commit 41a08d0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

widgets/+wt/Toolbar.m

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,13 @@ function setup(obj)
100100
% Call superclass method
101101
obj.setup@wt.abstract.BaseWidget()
102102

103+
% Adjust default title fonts for toolbar purposes
104+
obj.TitleFontSize = 10;
105+
obj.TitleFontWeight = "normal";
106+
if isMATLABReleaseOlderThan("R2025a")
107+
obj.TitleColor = [0.5333 0.5333 0.5333];
108+
end
109+
103110
% Set default size
104111
obj.Position(3:4) = [500 90];
105112

0 commit comments

Comments
 (0)