##// END OF EJS Templates
Fix Qt loader commit_api() for 'pyqtv1' or 'pyqtdefault'...
Fix Qt loader commit_api() for 'pyqtv1' or 'pyqtdefault' Our Qt loaders have three options representing PyQt - pyqt (with v2 strings API), pyqtv1 (v1 ditto), and pyqtdefault, which is v2 on Python 3 only. When loading pyqtv1 or pyqtdefault, the code to deny imports of other bindings would assume that api != pyqt meant we were using pyqt5, and forbid future imports of PyQt4. This changes the logic around so PyQt4 is the else: case, catching all three possible names for it. PyQt5 and PySide have, so far, only one name each.

File last commit:

r17434:9e006e24
r18405:5f275fe1
Show More
toolbar.less
55 lines | 894 B | text/x-less | LessCssLexer
.toolbar {
padding: 0px;
margin-left: -5px;
margin-top: -5px;
select, label {
width: auto;
vertical-align:middle;
margin-right:2px;
margin-bottom:0px;
display: inline;
font-size: 92%;
margin-left:0.3em;
margin-right:0.3em;
padding: 0px;
padding-top: 3px;
}
.btn {
padding: 2px 8px;
}
.border-box-sizing();
}
.toolbar .btn-group {
margin-top: 0px;
margin-left: 5px;
}
#maintoolbar {
margin-bottom: -3px;
margin-top: -8px;
border: 0px;
min-height: 27px;
margin-left: 32px;
padding-top: 6px;
padding-bottom: 8px;
.navbar-text {
float: none;
vertical-align: middle;
text-align: right;
margin-left: 5px;
margin-right: 0px;
margin-top: 0px;
}
.toolbar {
margin-top: 0px;
}
}
.select-xs {
height: @btn_small_height;
}