formulabar: make it a grid to not move on activation
this puts buttons and inputs at fixed positions so they don't move when we enter formula editing mode Signed-off-by: Szymon Kłos <szymon.klos@collabora.com> Change-Id: I2dd99e3ac233b66847af0165359d15fb50a10a97pull/8575/head
parent
bde997dfa8
commit
d1e1f9d46d
|
@ -251,11 +251,13 @@
|
|||
align-self: start;
|
||||
}
|
||||
|
||||
#formulabar-toolbox > div {
|
||||
#formulabar-toolbox > div,
|
||||
#formulabar-buttons-toolbox > div {
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
#formulabar {
|
||||
padding: 4px;
|
||||
background-color: var(--color-main-background);
|
||||
border-top: 1px solid var(--color-border);
|
||||
}
|
||||
|
@ -266,5 +268,5 @@
|
|||
|
||||
#formulabar > div > div {
|
||||
display: grid;
|
||||
grid-template-columns: 110px auto;
|
||||
grid-template-columns: 110px 120px auto;
|
||||
}
|
||||
|
|
|
@ -102,7 +102,7 @@ class FormulaBar {
|
|||
text: _('cell address')
|
||||
},
|
||||
{
|
||||
id: 'formulabar-toolbox',
|
||||
id: 'formulabar-buttons-toolbox',
|
||||
type: 'toolbox',
|
||||
children: [
|
||||
{
|
||||
|
@ -134,7 +134,13 @@ class FormulaBar {
|
|||
type: 'customtoolitem',
|
||||
text: _UNO('.uno:Cancel', 'spreadsheet'),
|
||||
visible: false
|
||||
},
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
id: 'formulabar-toolbox',
|
||||
type: 'toolbox',
|
||||
children: [
|
||||
{
|
||||
id: 'sc_input_window',
|
||||
type: 'formulabaredit',
|
||||
|
|
Loading…
Reference in New Issue