Skip to content
Snippets Groups Projects
Commit dd3f34d9 authored by Loïc Correnson's avatar Loïc Correnson
Browse files

[ivette] fix some button titles issues

parent b1e9ab24
No related branches found
No related tags found
No related merge requests found
...@@ -111,10 +111,16 @@ const ASTview = () => { ...@@ -111,10 +111,16 @@ const ASTview = () => {
return ( return (
<> <>
<TitleBar> <TitleBar>
<IconButton icon="ZOOM.OUT" onClick={zoomOut} /> <IconButton icon="ZOOM.OUT" onClick={zoomOut}
<IconButton icon="ZOOM.IN" onClick={zoomIn} /> disabled={!theFunction}
<IconButton icon="CODE" onClick={themePopup} /> title="Zoom In (increase font size)" />
<IconButton icon="WRAPTEXT" selected={wrapText} onClick={setWrapText} /> <IconButton icon="ZOOM.IN" onClick={zoomIn}
disabled={!theFunction}
title="Zoom Out (decrease font size)" />
<IconButton icon="CODE" onClick={themePopup}
title="Choose Theme" />
<IconButton icon="WRAPTEXT" selected={wrapText} onClick={setWrapText}
title="Wrap Text" />
</TitleBar> </TitleBar>
<Text <Text
buffer={buffer} buffer={buffer}
......
...@@ -168,7 +168,10 @@ const RenderConsole = () => { ...@@ -168,7 +168,10 @@ const RenderConsole = () => {
return ( return (
<> <>
<TitleBar label={command ? 'Command Line' : 'Console'}> <TitleBar label={command ? 'Command Line' : 'Console'}>
<Label className="dimmed" display={command && length > 0}> <Label
className="dimmed"
display={command && length > 0}
title="Rank in History" >
{1 + index}/{length} {1 + index}/{length}
</Label> </Label>
<Space /> <Space />
...@@ -205,20 +208,20 @@ const RenderConsole = () => { ...@@ -205,20 +208,20 @@ const RenderConsole = () => {
display={command} display={command}
disabled={!next} disabled={!next}
onClick={doNext} onClick={doNext}
title="Previous Command" title="Next Command"
/> />
<Space /> <Space />
<IconButton <IconButton
icon="MEDIA.PLAY" icon="MEDIA.PLAY"
display={command} display={command}
onClick={doExec} onClick={doExec}
title="Execute Command Line" title="Execute Command"
/> />
<IconButton <IconButton
icon="EDIT" icon="EDIT"
selected={command} selected={command}
onClick={switchCmd} onClick={switchCmd}
title="Edit Command Line" title="Edit Command"
/> />
</TitleBar> </TitleBar>
<Text <Text
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment