notebookbar: fix custom tabs

grid -> container,
for grid handler there were 'top' and 'left' properties missing.
issue appeared when I implemented real grid handler based on positions.

Change-Id: I90d63188b77ec6590123648f8833a387d1463622
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
This commit is contained in:
Szymon Kłos 2020-12-01 17:20:45 +01:00 committed by pedropintosilva
parent 20d94a58e5
commit 609d8748ae
4 changed files with 14 additions and 14 deletions

View file

@ -802,7 +802,7 @@ L.Control.NotebookbarBuilder = L.Control.JSDialogBuilder.extend({
td = containerToInsert;
}
var isVertical = childData.vertical === 'true' || childData.vertical === true ? true : false;
var isVertical = (childData.vertical === 'true' || childData.vertical === true) ? true : false;
this._parentize(childData);
var processChildren = true;

View file

@ -88,7 +88,7 @@ L.Control.NotebookbarCalc = L.Control.NotebookbarWriter.extend({
'children': [
{
'id': 'NotebookBar',
'type': 'grid',
'type': 'container',
'text': '',
'enabled': 'true',
'children': [
@ -330,7 +330,7 @@ L.Control.NotebookbarCalc = L.Control.NotebookbarWriter.extend({
'children': [
{
'id': 'NotebookBar',
'type': 'grid',
'type': 'container',
'text': '',
'enabled': 'true',
'children': [
@ -1844,7 +1844,7 @@ L.Control.NotebookbarCalc = L.Control.NotebookbarWriter.extend({
'children': [
{
'id': 'NotebookBar',
'type': 'grid',
'type': 'container',
'text': '',
'enabled': 'true',
'children': [
@ -2174,7 +2174,7 @@ L.Control.NotebookbarCalc = L.Control.NotebookbarWriter.extend({
'children': [
{
'id': 'NotebookBar',
'type': 'grid',
'type': 'container',
'text': '',
'enabled': 'true',
'children': [

View file

@ -168,7 +168,7 @@ L.Control.NotebookbarImpress = L.Control.NotebookbarWriter.extend({
'children': [
{
'id': 'NotebookBar',
'type': 'grid',
'type': 'container',
'text': '',
'enabled': 'true',
'children': [
@ -462,7 +462,7 @@ L.Control.NotebookbarImpress = L.Control.NotebookbarWriter.extend({
'children': [
{
'id': 'NotebookBar',
'type': 'grid',
'type': 'container',
'text': '',
'enabled': 'true',
'children': [
@ -1844,7 +1844,7 @@ L.Control.NotebookbarImpress = L.Control.NotebookbarWriter.extend({
'children': [
{
'id': 'NotebookBar',
'type': 'grid',
'type': 'container',
'text': '',
'enabled': 'true',
'children': [
@ -1998,7 +1998,7 @@ L.Control.NotebookbarImpress = L.Control.NotebookbarWriter.extend({
'children': [
{
'id': 'NotebookBar',
'type': 'grid',
'type': 'container',
'text': '',
'enabled': 'true',
'children': [

View file

@ -106,7 +106,7 @@ L.Control.NotebookbarWriter = L.Control.Notebookbar.extend({
'children': [
{
'id': 'NotebookBar',
'type': 'grid',
'type': 'container',
'text': '',
'enabled': 'true',
'children': [
@ -418,7 +418,7 @@ L.Control.NotebookbarWriter = L.Control.Notebookbar.extend({
'children': [
{
'id': 'NotebookBar',
'type': 'grid',
'type': 'container',
'text': '',
'enabled': 'true',
'children': [
@ -565,7 +565,7 @@ L.Control.NotebookbarWriter = L.Control.Notebookbar.extend({
'children': [
{
'id': 'NotebookBar',
'type': 'grid',
'type': 'container',
'text': '',
'enabled': 'true',
'children': [
@ -1947,7 +1947,7 @@ L.Control.NotebookbarWriter = L.Control.Notebookbar.extend({
'children': [
{
'id': 'NotebookBar',
'type': 'grid',
'type': 'container',
'text': '',
'enabled': 'true',
'children': [
@ -2101,7 +2101,7 @@ L.Control.NotebookbarWriter = L.Control.Notebookbar.extend({
'children': [
{
'id': 'NotebookBar',
'type': 'grid',
'type': 'container',
'text': '',
'enabled': 'true',
'children': [