Improve layout of the buttons in the locate manager (#5139)
This commit is contained in:
parent
ebecf0f4cc
commit
e700f5ca98
2 changed files with 7 additions and 6 deletions
|
@ -59,13 +59,13 @@
|
|||
|
||||
<separator class="thin"/>
|
||||
|
||||
<hbox id="button-bar" align="center">
|
||||
<hbox pack="start" flex="1">
|
||||
<button label="Toggle" onclick="toggleLocateEngines()" flex="1"/>
|
||||
<button id="locateManager-restoreDefaults" label="&zotero.preferences.locate.restoreDefaults;" oncommand="restoreDefaultLocateEngines()" flex="1"/>
|
||||
<hbox id="button-bar">
|
||||
<hbox pack="start">
|
||||
<button label="Toggle" onclick="toggleLocateEngines()" />
|
||||
<button id="locateManager-restoreDefaults" label="&zotero.preferences.locate.restoreDefaults;" oncommand="restoreDefaultLocateEngines()" />
|
||||
</hbox>
|
||||
<hbox pack="end" flex="2">
|
||||
<button disabled="true" id="locateManager-delete" label="-" oncommand="deleteLocateEngine()" flex="0.5"/>
|
||||
<hbox pack="end">
|
||||
<button disabled="true" id="locateManager-delete" label="-" oncommand="deleteLocateEngine()" />
|
||||
</hbox>
|
||||
</hbox>
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
@include contain-richlistbox;
|
||||
|
||||
#button-bar, #button-bar > hbox {
|
||||
justify-content: flex-end;
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue