Skip to content

Commit c0a47ed

Browse files
committed
add Tooltipable to SliderSpinner
1 parent 3230476 commit c0a47ed

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

widgets/+wt/SliderSpinner.m

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
classdef SliderSpinner < wt.abstract.BaseWidget & ...
22
wt.mixin.Enableable & ...
33
wt.mixin.FieldColorable & ...
4-
wt.mixin.FontStyled
4+
wt.mixin.FontStyled & ...
5+
wt.mixin.Tooltipable
56
% A slider and spinner combination
67

7-
% Copyright 2020-2025 The MathWorks Inc.
8+
% Copyright 2020-2026 The MathWorks Inc.
89

910

1011
%% Public properties
@@ -255,6 +256,7 @@ function setup(obj)
255256
obj.BackgroundColorableComponents = obj.Grid;
256257
obj.FontStyledComponents = [obj.Spinner, obj.Slider];
257258
obj.EnableableComponents = [obj.Spinner, obj.Slider];
259+
obj.TooltipableComponents = [obj.Spinner, obj.Slider];
258260
obj.FieldColorableComponents = [obj.Spinner];
259261

260262
end %function

0 commit comments

Comments
 (0)