Skip to content

Commit e0fcef0

Browse files
committed
Add hoverlabel.align
1 parent 61338c3 commit e0fcef0

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/default_panels/StyleLayoutPanel.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,16 @@ const StyleLayoutPanel = (props, {localize: _}) => (
144144
</PlotlySection>
145145
<PlotlySection name={_('Hover')}>
146146
<HovermodeDropdown label={_('Mode')} attr="hovermode">
147+
<Dropdown
148+
label={_('Text Alignment')}
149+
attr="hoverlabel.align"
150+
options={[
151+
{label: _('Auto'), value: 'auto'},
152+
{label: _('Left'), value: 'left'},
153+
{label: _('Right'), value: 'right'},
154+
]}
155+
clearable={false}
156+
/>
147157
<HoverColor
148158
label={_('Background Color')}
149159
attr="hoverlabel.bgcolor"

0 commit comments

Comments
 (0)