Skip to content

Commit

Permalink
Adding select button to the sidebar and reducing the size of the butt…
Browse files Browse the repository at this point in the history
…ons, may introduce issues on some systems. Fixes issue 7815
  • Loading branch information
samitbadle committed Sep 22, 2014
1 parent e633a68 commit ccb8a8c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
9 changes: 8 additions & 1 deletion ide/main/src/content/selenium-ide-sidebar.xul
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,16 @@ limitations under the License.
<!-- show different options collected by the client. Allow user to override -->
<hbox flex="1">
<textbox flex="1" disabled="true" id="commandTarget" oninput="window.editor.treeView.updateCurrentCommand('target', window.editor.treeView.decodeText(this.value))" autocompletesearch="selenium-ide-generic" enablehistory="true" forcecomplete="true" tabscrolling="true" type="autocomplete" showcommentcolumn="true" />
<button label="&findTarget.label;" oncommand="window.editor.selDebugger.showElement(document.getElementById('commandTarget').value)"/>
<button id="selectElementButton" label="Select" class="sm_btn" disabled="true" oncommand="window.editor.selDebugger.selectElement()"/>
<button id="findElementButton" label="&findTarget.label;" class="sm_btn" disabled="true" oncommand="window.editor.selDebugger.showElement(document.getElementById('commandTarget').value)"/>
</hbox>
</row>
<row align="right" id="selectElementTip" style="display: none">
<vbox>
<label></label>
<description>Select an element by clicking on it in the browser or click Cancel to cancel.</description>
</vbox>
</row>
<row align="center">
<textbox disabled="true" id="commandValue" oninput="window.editor.treeView.updateCurrentCommand('value', window.editor.treeView.decodeText(this.value))"/>
</row>
Expand Down
9 changes: 9 additions & 0 deletions ide/main/src/skin/classic/selenium-ide.css
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,15 @@ tab label {
color: #ba0000;
}

.sm_btn {
width: 50px;
min-width: 50px;
padding-left: 2px;
margin-left: 1px;
padding-right: 2px;
margin-right: 1px;
}

#source {
font-family: monospace;
}

0 comments on commit ccb8a8c

Please sign in to comment.