Commit graph

403 commits

Author SHA1 Message Date
Pedro Pinto Silva
6cd4029385 Mobile: Hamburger menu: Fix alignments and
- Impress top position
- images position

Change-Id: Id3a5abc1c423169cb9f3d1bcb912171d1101c559
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89019
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-02-19 14:40:21 +01:00
Pedro Pinto Silva
116e3f74c7 Mobile: Toolbar up: Fix dark border when long press on any item and add hamburger press state
Change-Id: Ic2472ffd8e03463f56d7850d05d3ef5564093202
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89004
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-02-19 13:26:08 +01:00
Pedro Pinto Silva
00bed8db5b Mobile: mobileWizard: input field: fix inconsistencies between browsers
Change-Id: I6c8d196952765c3018c8d00595d3fef9a93c23f7
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89000
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-02-19 13:25:42 +01:00
Pedro Pinto Silva
164ae6d9be Mobile: add active, focus status to elements, add missing downloadasicons, fixes
- mobileWizard: force row elements to be full width and adjust accordingly
- edit FAButon: add press state and transition
- mobileWizard: fix white space that sometimes appears between header and content
- mobilewizard: make better use of space
- mobilewizard [non tab layout]: make use of flex to place content full width and aligned to the center
- Calc: mobileWizard: remove unecessary labels (format: NumberFormatCurrency, NumberFormatPercent, numberFormatDecimal)
- Calc mobileWizard: Fix placement of NumberFormat buttons
- Hamburger Menu: Fix positions
- Hamburger Menu: add missing icons under download as
- mobileWizard: make sure some labels do not wrap into a second line
- mobileWizard: make use of percentages instead of px regarding margins
- reduce svg size

Change-Id: I10e46a88cf04afe02cafa6d10931daee119be27b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88970
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-02-19 09:12:36 +01:00
Tamás Zolnai
364623c87f mobile: Fix css media rules to work with mobile emulation / cypress test.
Restore the media rules we used earlier for mobiles.
So for mobiles it's enough to have a small screen size,
for tablet we allow bigger screen size, but only with
special pointer properties.

Change-Id: Ic45f05c516ec44cd39c58463d8bf1907ec63c25a
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88922
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-02-18 14:31:00 +01:00
Tamás Zolnai
1999f12b35 Revert "Revert "Mobile: change all media queries to:""
This reverts commit 55d067bfee.

Change-Id: I2077276e70e16324031b393a58bf802c3efdcb4f
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88921
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2020-02-18 14:30:42 +01:00
Tamás Zolnai
55d067bfee Revert "Mobile: change all media queries to:"
This reverts commit ef48e44c0e.
2020-02-18 09:19:34 +01:00
Pedro Pinto Silva
ed86a313bc MobileWizard: Impress: Fix misalignment on fontColor
Change-Id: I3e2022acd313a2d429220ae2c539c08e233b6317
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88865
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-02-17 16:01:31 +01:00
Henry Castro
cefcfcfe19 loleaflet: mobile: use hyperlink tag for context menus
Change-Id: Iac83687794c90ff3439e7a5c833d24007ec52ec3
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88545
Tested-by: Henry Castro <hcastro@collabora.com>
Reviewed-by: Henry Castro <hcastro@collabora.com>
2020-02-17 15:58:11 +01:00
Pedro Pinto Silva
ef48e44c0e Mobile: change all media queries to:
- Include phablet size
- Ensure that the mobile css rules do not kick in when on Desktop (900px window)
-- Detect if the primary input mechanism cannot hover at all or cannot conveniently hover (hover:none)
-- Detect if at least one input mechanism includes a pointing device of limited accuracy (any-pointer:coarse)

Change-Id: Idf1494acbd52ecd40e9082c8cf6f4ce88ecf9ac6
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88862
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-02-17 15:53:33 +01:00
Pedro Pinto Silva
6d3e88782e Fix Zoom controls:
- Percentage sometimes appears sometimes it doesn't. Removed percentage from values and instead added as suffix (via css)
- Content width changes. Fixed by setting a default minimum width

Change-Id: I4c2017ceaa98c97f06c7bba4dfe0f3aded9d605c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88608
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-02-13 15:08:06 +01:00
Pedro Pinto Silva
45d053d9d1 Mobile: Hamburger menu: add missing toggle icon and also add default background when there is no image (top level)
Change-Id: I894bb25a9198a74bf1fa43d6c958e23878e0a0fb
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88525
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-02-12 13:29:33 +01:00
Pedro Pinto Silva
02ca6142e3 Mobile: Calc: Formula bar: make text selection handles visible and hide them on desktop
Change-Id: Iaf5b207fd641ff0b2428801b0972277a382b87e7
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88197
Reviewed-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Tested-by: Marco Cecchetti <marco.cecchetti@collabora.com>
2020-02-07 19:05:56 +01:00
Henry Castro
779833ec7c loleaflet: mobile: change position of the edit button
when document type is Impress

Change-Id: I33af9c10827f50be25a8490b7de8fe5504b06352
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88216
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2020-02-07 17:27:10 +01:00
Marco Cecchetti
a46fa588b1 calc: formula input bar: adding support for text selection handles
Change-Id: I6bc276945a7fd33f1358a3aa82ce0e7f45237771
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/88090
Reviewed-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Tested-by: Marco Cecchetti <marco.cecchetti@collabora.com>
2020-02-06 15:58:36 +01:00
Marco Cecchetti
ec2ec241d2 loleaflet: calc: input bar text selection layer
Change-Id: Id143c3c0b5f0bb6a99bd9e8ce7f953f95e3a65bd
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86791
Reviewed-by: Marco Cecchetti <marco.cecchetti@collabora.com>
Tested-by: Marco Cecchetti <marco.cecchetti@collabora.com>
2020-02-06 14:48:00 +01:00
Tor Lillqvist
d532705a85 tdf#128468: Make dragging the tab stops send a UNO command
Still work in progress. The new UNO command is "MoveTabstop" with two
arguments: Tabstop (the index of the tabsetop) and Amount (in twips,
left (negative) or right).

The intent is that moving a tabstop in core will cause a callback that
will redraw the ruler, like moving a paragraph margin does.

Change-Id: Ic6b8b11811d2a7f6510c505fff421e1796300c70
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87868
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-02-03 14:38:02 +01:00
Henry Castro
ad2391ae46 loleaflet: mobile: use Hammer recognizer events instead of 'contextmenu'
Unfortunately the emulate 'context menu' conflict with the default
horizontal scroll behavior

Change-Id: I3cd45520a6f1e00460031b78e4963db59bc9ae59
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87750
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2020-01-30 22:01:08 +01:00
Pedro Pinto Silva
96cef62d43 Mobile: MobileWizard: modify bottom button on mobile wizard, set special layout for insert table panel and add icons
Change-Id: If137e015930f3918d230a86b6e2940747389ec5d
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87746
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-01-30 16:49:45 +01:00
Jan Holesovsky
85574023a6 Mobile Calc: Remove one more pixel to close a gap.
Change-Id: If182d2284285d683b01d4e8ab97ddb967010c957
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87722
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2020-01-30 10:38:21 +01:00
Pedro Pinto Silva
fbc1eb8990 Mobile: Calc: visual cleanup after new changes introduced by 87548, 87549 and 87615
- realign plus icon
- readjust top elements' position
- avoiding changing border from #toolbar-wrapper as this would affect readonly mode

Change-Id: I010aaa7b3bd25bce1fe386854c0a7cd0b9c7331e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87675
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-01-29 10:27:57 +01:00
Pedro Pinto Silva
5b44398bcc MobileWizard: Insert: Table:
- Add exeption
- Even if there is no image passed add it manually and adjust HTML sctructure so to be consistent with other menu-entry-with-icon elements
- Add inserttable monochrome icon
- pass optional argument data.id

Change-Id: I34536272d3ef5742895c4db5a52058fe6558f837
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87633
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-01-28 17:47:34 +01:00
Henry Castro
62fe18a044 loleaflet: mobile: restore 'Insert sheet' toolbar item
Change-Id: Ib51341c517954519b0dea2263ac9bf16b052b3f8
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87615
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2020-01-28 14:09:53 +01:00
Henry Castro
d01cef322f loleaflet: mobile: allow horizontal scroll to 'spreadsheet-tabs-container' element
Change-Id: If600dfc37fc9123ffc4ce19811d792b846010350
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87549
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2020-01-27 20:39:46 +01:00
Henry Castro
5d8784b7b1 loleaflet: remove the 'spreadsheet-toolbar' toolbar
In mobile view, the 'spreadsheet-toolbar' toolbar is not needed anymore

Change-Id: Ie4dd518cbb4db62a3b3d0da812e37219d8a8bc4b
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87548
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2020-01-27 20:03:53 +01:00
Pedro Pinto Silva
1d57b29632 MobileWizard: List chevron: Increase contrast by:
- Replace content (symbol character) with a darker element (SVG)
- Avoid adding new asset when we can simply apply transformations etc

Change-Id: I3c9ecdfd000723a30c28cb92ac752bd98823bcb7
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87540
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-01-27 16:50:04 +01:00
Pedro Pinto Silva
84092428b7 Mobile: Mobilewizard: Add missing icons and hide unused spans
Change-Id: I61e2bdb24e082d095a832dec29f406869f21f986
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87538
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-01-27 16:21:40 +01:00
Pranam Lashkari
edc2b3c53e resolved: No avatar in comments/changes
Change-Id: Icbdffdfa4567364f306a5f94b5788fce2c43388e
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/85661
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-01-22 17:23:14 +01:00
Tor Lillqvist
ebaca16c4f tdf#128509: Make the column and row headers tappable on touch devices
After you have sleected a table on a text document in the iOS (and
Android) app, you are supposed to be able to tap the "header"
rectangle that is painted for each column and row, in order to select
the whole of that column or row. But this worked only in web-based
Online with a desktop browser, for clicking it with a mouse.

Was much more complicated than expected. But now it seems to work. One
needs to use Marker instead of Rectangle.

Change-Id: I4f701c70dd4edce6a3edb6fcf9feffa7b7969a8c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/87079
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
2020-01-21 10:26:58 +01:00
Pedro Pinto Silva
c92682c813 Mobile: Scroll indicators (shows the user he can swipe to see more):
- Use shadow instead of background gradient in order to have more granular control over the result (multiple shadows)
- [Toolbar]: decrease indicators width to 0; [MobileWizard]: decrease indicators height to 0
  - ^ to avoid mistaps. We now have larger "gradients" with 0 space from the element which allows any elmente that is underneath to be tappable

Change-Id: Ie329ed4e85d7342ab9cdc90f89cfdc8663e73da7
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86979
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-01-17 14:05:25 +01:00
Pedro Pinto Silva
4da29f6422 Mobile: Spreadsheet: Readonly mode: Adjust top positions from frame and document
- account for moz vs webkit intricacies
- account for newest spreadsheet formula implementation

Change-Id: If5ae4159bf5b5cea82771b085f8e7e90f97e0804
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86760
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-01-14 14:34:19 +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
84ef6bd6fb Mobile: toolbar-down: scroll/swipe indicator: increasing width
also related to: https://gerrit.libreoffice.org/#/c/online/+/86691/

Change-Id: I85f0500927164cfeab756c1588e3f5e97644b866
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86702
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-01-13 17:31:34 +01:00
Pedro Pinto Silva
839cab9b65 Increased the horizontal scroll indicator contrast,
- which increases legibility even when there is a checked element underneath
- also decreases its width so the element that is partially under is still interactive without the need to swipe it first

Change-Id: I54fe3e3d0bd699246f76c77e929b3c4a250e0b82
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86691
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-01-13 15:11:00 +01:00
mert
026500b3a5 Fix insertshapes display problem
Insert Shapes dialog opens on the right
side of the screen and can be too
narrow on desktop

Change-Id: I8f9fe8f00989b504d05282fcd5332bf1a1b94ad0
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/85747
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2020-01-08 17:49:19 +01:00
Pedro Pinto Silva
a4b146ec51 Mobile: w2ui scroll elements:
- Enable and adjust elements when on mobile so they are visible but discreet (without covering icons)
- Make them not clickable when on mobile (thus avoiding unwanted scrolled due to users mistaps
- Make their parent aware of the ongoing scrolling and call w2ui resize on it (thus making the left and right indicator showing and hiding as we please)
- Test and adjust so this changes do affect affect the click listening on desktop etc

Change-Id: Ic35dadb71e7fd6ae3ff2fad3e52d5219e7520c55
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86364
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-01-07 17:36:21 +01:00
Henry Castro
23ccef0ac7 loleaflet: android: hide slide sorter if it is a small window size
The android browser application changes the orientation when the
soft keyboard pop ups, it has been given a heuristic number 2/3 screen height
to hide the slide sorter, this is because there is a header size
that show the URL bar and it can be improved to the equal screen size of the
native Android app.

Change-Id: I182795fe698bf191cd5b675c1768820ab78b1602
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/85333
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2020-01-06 19:40:44 +01:00
Pedro Pinto Silva
9446f02a23 Mobile: mobile-wizard
- Remove specific id rules and swap them with class rules
- Decrease row's width

Change-Id: I058c2bd80070df1d238eb978e8e616081a4b3d8c
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86187
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2020-01-03 16:17:33 +01:00
Muhammet Kara
0bf742fa64 Add pseudo uno command ToggleOrientation
Relies on commit 1131dfc387abc7ef33bc2c84677ec3c09d3e59e4
on cp-6.2

Added the button to the bottom toolbar on mobile,
and the standard toolbar on Online for Writer

Change-Id: I7fb8cf79369987f029ca05a9a668361cfeff16aa
Reviewed-on: https://gerrit.libreoffice.org/85653
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
2019-12-21 15:07:05 +01:00
Pedro Pinto Silva
e981bf26b3 Desktop: Document-container: Fix missing text cursor on text document types
- make sure document container has doctype class every time
- set auto cursor for spreadsheet and presentations only

Change-Id: I2cb7b0bdaefa51e01745291c78501a7495da2289
Reviewed-on: https://gerrit.libreoffice.org/85515
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2019-12-19 12:43:49 +01:00
Tamás Zolnai
c231d68eb4 Slide-sorter: mobile: Make the slide previews smaller in landscape mode.
So they are not cut by the document area.

Change-Id: Ie53f693fc6ff4ccf8a4a86e1100860c3907f4a3a
Reviewed-on: https://gerrit.libreoffice.org/85438
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2019-12-18 23:37:25 +01:00
Pedro Pinto Silva
9fa14f7c24 Annotations: User Avatar: Fix broken image and set border to its parent instead of applying to the image itself
Change-Id: I04bbf704c981d80b04f2e003905129b857b28316
Reviewed-on: https://gerrit.libreoffice.org/85376
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2019-12-18 12:07:40 +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
a62e26a35b toolbarstatus:language:w2ui-tb-caption: Reset float that was causing misalignment
Change-Id: I23ff1c44a2a110d84a0899b982b1cee566011ad3
Reviewed-on: https://gerrit.libreoffice.org/85126
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2019-12-13 16:12:21 +01:00
Pranam Lashkari
d249e6a713 Resolved: Keyboard shortcut help window won't scroll
Help usually don't fit in the resulting popup window,
but wasn't possible to scroll.

Change-Id: Iff14620730ba9cee6e679e4b6b69e84342019cd1
Reviewed-on: https://gerrit.libreoffice.org/84998
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2019-12-13 11:56:07 +01:00
Pedro Pinto Silva
3f325d085a Impress on desktop: Fix white glitch at the bottom of slides sidepane
Change-Id: If2fa4caab1b5d1f43fb28e4ab806e09140a54cb3
Reviewed-on: https://gerrit.libreoffice.org/84955
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2019-12-11 15:40:35 +01:00
Tor Lillqvist
18ac050240 tdf#128468: Draw the tab stops
Draw only the user-edited/able ones. Draw all four kinds (left, right,
center, and decimal) the same for now, as a small triangle pointing
up. (Drawn using a CSS trick to get a triangle.) The tab stop
positions aren't actually editable yet, nor is there a way to add a
new tab stop or delete one. Later.

The code uses a CSS custom property, yay, to avoid duplication of a
magic value for the half-width of the triangle.

Change-Id: I862b09091bad03ad63425cc6e6759f3f13174579
Reviewed-on: https://gerrit.libreoffice.org/84474
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
(cherry picked from commit 5e6976f6eb23d742db7e8f9b334b521a299f2418)
Reviewed-on: https://gerrit.libreoffice.org/84764
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
2019-12-10 09:23:20 +01:00
Pedro Pinto Silva
33af2f483d Fix Insert Shape Palette scrolling issues
Change-Id: I98c141edbe88a74cf14453972494f29882aed23e
Reviewed-on: https://gerrit.libreoffice.org/84748
Reviewed-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
Tested-by: Pedro Pinto da Silva <pedro.silva@collabora.com>
2019-12-09 14:43:33 +01:00
Ashod Nakashian
d1da3ac1a2 leaflet: sidebar scrolling improvements
The browser has to move the sidebar to accomodate
scrolling, and this movement makes the sidebar
overlap with the document (specifically, the
scrollbar of the document) and causes other visual
glitches.

We now display a scrollbar at all times to make
the sidebar width fixed and also to avoid flickering.
This is the only portable/reliable way of avoiding
flickering/jumping-around due to scrollbar showing
and hiding. (Previously we had extra space in the
parent, but at least in Chrome it now always pushes
the canvas left when showing the scrollbar anyway,
so we gain nothing but having a thin margin on the
right, and we still got shifted left/right when
the scrollbar show/hide.)

Change-Id: Icbec841ffa4cec255e59f547530728f076d2877e
Reviewed-on: https://gerrit.libreoffice.org/84713
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2019-12-08 22:39:13 +01:00
Tamás Zolnai
05f6b9cabe Menu wizard: move checked style to css.
Change-Id: I090cbee4b57276c6722772a72515a1cd69cdef5f
Reviewed-on: https://gerrit.libreoffice.org/84647
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2019-12-06 18:15:41 +01:00