Commit graph

23 commits

Author SHA1 Message Date
Dennis Francis
320550f582 row(col) header's canvas height(width) should not auto-adjust...
with the height(width) of the parent container, because if it does, the
header-canvas scales its contents to adjust to the new height(width) and
of course goes out of sync with the tiles.

This bug is visible when we do synchronous update of headers and if one
or both of the headers change size due to increase/decrease of
table-outline levels.

Change-Id: Ib65fd27f3598c7d58323d37c80ce2a147e594911
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98104
Tested-by: Jenkins
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
2020-07-05 16:29:12 +02:00
Pranam Lashkari
8bc03a5a37 "+" position corrected for active state add sheets button
This chage only affects mobile view
> moving changes to new files
> Increase document container's bottom position (it was cropping tabs container)
> Fix default browser borders that were afecting position

> Desktop
> Also Fix document container on desktop
> Fix icons' elements being cropped (perv, next and plus)
> Adjust Margins for those w2ui elements

> Discovered that plus.svg whas not centered and fixed it

Change-Id: Id54a491e9c2a6afef468aca8d858bf91b83d03ce
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91270
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-04-09 16:33:44 +02:00
Pranam Lashkari
0b4c7fd66c leaflet-css: follow up for making sheet tab taller
"+" button for adding sheets aligned
sheets name aligned to center

Change-Id: Ie180ba668172ed4853bc43e49a1c143c56ef80ad
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89607
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-03-27 09:58:45 +01:00
Dennis Francis
3c4e3d8c43 Do not let sidebar cover calc-tabs-bar (partially)
In desktop-browser-online-calc, when the sidebar is shown, the
tabs/sheets bar is partly covered by it. This is a problem when there
are many sheets in the calc document because it is impossible to
switch to last few sheets because sidebar covers those entries in
the tabs-bar.

This patch adjusts the tab-bar container's width according to sidebar
width changes just like how formula-input canvas width is adjusted.
This also includes some css adjustments neccessary to hide the ugly
browser induced vertical-scrollbar for the child of tabs container
when adjusting the width of the container.

Change-Id: Iea3a658926d6f563a970bb9b6da9807818d36c26
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89897
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2020-03-10 10:37:02 +01:00
Pranam Lashkari
7bbd1dbffd leaflet-CSS: Increased the sheet tab height
Change-Id: Idf1d732700853d237339c16d991b32ec86ce90de
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89535
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2020-02-26 17:10:01 +01:00
Pedro Pinto Silva
4162d892e0 Remove changes introduced in 85362 because :
- it was causing improper behaviour when multiselecting
- there is always a cell (svg path) that is been set always with diferent stroke color even when multiple cells are selected and so CSS shouldn't be modified but instead, probably, JS bits

Change-Id: Ie8f11f14f5ffc958f646332c7fe2bc810b34d808
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86755
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-01-14 13:11:06 +01:00
Pedro Pinto Silva
6d12845db9 Spreadsheet: disable dashed stroke for when the active object is a cell
Change-Id: I4bf7ad0d76435754ffe8a8190569ad5d24f576dc
Reviewed-on: https://gerrit.libreoffice.org/85361
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2019-12-18 09:44:12 +01:00
Pedro Pinto Silva
1a0cee97b5 - Spreadsheet: Move rules for mobile to spreadsheet-mobile.css
- Remove duplicated selectors regarding toolbar-down (toolbar-mobile.css)
- Add max-height for toolbar-down (toolbar.css)

Change-Id: I41cbd09620d212916338aedbae1936a5d924a520
Reviewed-on: https://gerrit.libreoffice.org/82435
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2019-11-11 13:43:43 +01:00
Pedro
acd89f72c4 w2ui-button.over: limit different background only when in the toolbar-down
Change-Id: Icd627a7da52b0c58f35bbd52f38220767e937e01
Reviewed-on: https://gerrit.libreoffice.org/80837
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-16 10:13:11 +02:00
Pedro
15ca7b6e9b Spreadsheet: toolbar: fix over states
Change-Id: Id89ffe293371b59c2fe27fc0fe75bb8ac93f7978
Reviewed-on: https://gerrit.libreoffice.org/80817
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-15 12:16:37 +02:00
Pedro
fafa4b38a5 Adjust color of cols and rows headers to be consistent with the other elements
Change-Id: I8f5239ff92e015b5c3c73d8770d86b0524bd0900
Reviewed-on: https://gerrit.libreoffice.org/80142
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-07 10:00:56 +02:00
Pedro
8f6cb9ae38 Improve spreadsheet toolbar, its tabs and update toolbar-down size, refactoring
Change-Id: I9baae1277a80c9697d57da958585175704119688
Reviewed-on: https://gerrit.libreoffice.org/80102
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-10-03 12:38:49 +02:00
Szymon Kłos
1df1275e3b Show toolbars in edit mode on mobile
- fix position of rows container
- avoid using uninitialized 'toolbar' variable
- fire onUpdatePermission in Writer also...

Change-Id: I3a57c4185814d7784c591dfd9dcda7661d4adc72
Reviewed-on: https://gerrit.libreoffice.org/79853
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
2019-09-30 14:13:39 +02:00
Tomaž Vajngerl
42c4c864fe tdf#125425 add cell selection markers and cell auto fill marker
This replaces the standard text selection marker with a cell
selection markers to resize the cell selection. This looks and
behaves better for cells in Calc and it is also easier to deal
with.

Additionally add auto fill marker to perform the auto fill action
on the cells. This was not possible to do previously unless you
hit an invisible part of the cell selection, which is not
convenient when using touch.

Change-Id: Ia02d03b7b8e8d98412ea98eb92fb47d1505ef979
Reviewed-on: https://gerrit.libreoffice.org/76494
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2019-07-29 08:51:55 +02:00
Aron Budea
d18cb90a68 loleaflet: Use correct location of drop-down-button.svg
Regression from 8618885b31

Change-Id: I04a5eb6c18807e16e03f73c3850c35c2cdbbb676
Reviewed-on: https://gerrit.libreoffice.org/67987
Reviewed-by: Aron Budea <aron.budea@collabora.com>
Tested-by: Aron Budea <aron.budea@collabora.com>
2019-02-18 22:01:03 +01:00
Szymon Kłos
9d96aa4b6b Reduce readonly toolbar height in calc
Change-Id: If1784b0626080792b7f80c57ff956367be390198
2019-01-30 16:54:51 +01:00
Szymon Kłos
30c06fab33 Fix toolbars position
Change-Id: Ib48bc53ebb5230f198de27d80ecffd3e0c4eec2f
2018-12-12 13:39:14 +02:00
Szymon Kłos
a452ace736 Don't cover bottom toolbar in calc
Change-Id: I9db7a5e001300602706ee8ca078d43b5d82dd16a
2018-12-07 12:39:28 +01:00
Szymon Kłos
413d18ab8c ui: fix menu & toolbar layout
Some fixes for correct resizing still needed.

Change-Id: I0e217d0cb1fc456c786592eaf3c4ee313fb63ad3
2018-12-07 12:39:27 +01:00
Szymon Kłos
64170351af ui: move menu to the top
Change-Id: I0d2aa53efef34455e90f2eb721f482a1aadca0aa
2018-12-07 12:39:27 +01:00
Henry Castro
3e764f2d9e loleaflet: update new positions
Change-Id: I9aefba308e8cb8d83419f3b5274bc127371eae32
2018-12-07 12:39:27 +01:00
Henry Castro
c3bdf30b31 loleaflet: mobile: adjust spreadsheet positions
Change-Id: Iad33a6831714f441cd56abc1f83c6fd3ce2b5980
2018-11-19 12:52:02 +02:00
Henry Castro
8618885b31 use Makefile to build loleaflet
Concatenate and minify all javascript files in the release build but not
in the debug build. Also, it is enabled to use a build directory

Change-Id: Ia120447a827cfe236241ddf188bf43a088f877a7
Reviewed-on: https://gerrit.libreoffice.org/52802
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2018-05-10 20:30:16 +02:00
Renamed from loleaflet/dist/spreadsheet.css (Browse further)