Commit graph

16 commits

Author SHA1 Message Date
Tor Lillqvist
26b5a3745e Better and more dynamic way to show ruler conditionally
Use conditional CSS, setting the ruler height to zero if it would be
too high. Now the ruler even shows up and disappears dynamically as
the window height changes, for instance when turning a mobile device
between landscape and portrait orientation. No JS conditional needed
after all.

Change-Id: Iebfbd182d1675f4d6abd2f252389fdcdf46ed4d3
2018-07-04 16:44:46 +03:00
Tor Lillqvist
1800a8ee17 Decide whether to display a ruler based on ruler percentage of window height
If the ruler would be over 5% of the window height, don't display it.

Change-Id: Ieed55318fc76dfe0f9248985b816e306b6654dee
2018-07-04 16:00:58 +03:00
Jan Holesovsky
46b4c62139 Cell borders: Implement the 'More...' button.
Change-Id: I3551cec69cf1e4dca02c0fcdbee23a4e06b1e36a
2018-06-28 21:39:46 +02:00
Jan Holesovsky
8309734edd borders: Improve the look.
Change-Id: Ib7ca90285bb012a09f5fd2d867a3d588e831ec3a
Reviewed-on: https://gerrit.libreoffice.org/56092
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2018-06-20 13:31:04 +02:00
Henry Castro
77e913e46a loleaflet: add cell borders in Calc
Change-Id: I0105ee6c98b0eb043b60b56ea80007bae967df90
Reviewed-on: https://gerrit.libreoffice.org/56091
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2018-06-20 13:31:04 +02:00
Jan Holesovsky
814d266eca Make sure we have enough space for the insert table grid.
Change-Id: I9c6cf2b038663bc68098b6abf4c7c69599ebe070
2018-06-07 22:10:11 +02:00
Jan Holesovsky
daf2915ab5 Align the first toolbar item with the text of the File menu.
Change-Id: I5abe99f2394f95c60274e274c5470899b0d77172
Reviewed-on: https://gerrit.libreoffice.org/55292
Reviewed-by: Henry Castro <hcastro@collabora.com>
Tested-by: Henry Castro <hcastro@collabora.com>
2018-06-04 20:11:26 +02:00
Pranav Kant
12eaff0f79 loleaflet: Add flowchart shapes
Couldn't find svg images for 8 flowchart shapes. The command works for
them but no icon is currently shown in the toolbar.

Change-Id: I0a992d51f01064f04b26b90adcdfd29515a77f6a
2018-05-25 16:31:52 +05:30
Pranav Kant
9b69fcbd82 loleaflet: Add callout shapes
Change-Id: Idc280cf22e1e3459e35de30355b6bffed5fae6b0
2018-05-25 16:31:52 +05:30
Pranav Kant
d7f9cad3bc loleaflet: Add star shapes
Change-Id: Ic68f422a18bffff9dfee86d83b9d463091423385
2018-05-25 16:31:52 +05:30
Pranav Kant
aa29a46270 loleaflet: Fix incorrect icon name
Change-Id: Ibd9817ca3cbf56621b5156323a6b946c67e566dd
2018-05-25 16:31:52 +05:30
Pranav Kant
880cd304b6 loleaflet: Add arrow shapes
Change-Id: Ia3eca34969a22110037e08c39e8f68771882c89f
2018-05-25 16:31:52 +05:30
Pranav Kant
91bced53a9 loleaflet: Separate section for more shapes; add symbol shapes
Change-Id: I4f683b50fb7debf195ead56c48ef64d7ce609b73
2018-05-25 16:31:52 +05:30
Pranav Kant
348fbe840b loleaflet: New shape toolbar popup
Change-Id: Idc61230d26b2933f9ba1b9ec78bada55a0ef2698
Reviewed-on: https://gerrit.libreoffice.org/54659
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
2018-05-22 10:42:17 +02:00
Pranav Kant
32eff8dd6b lokdialog: Don't show the title bar when no title was provided.
Change-Id: If08dc81e88d35a924d10695a38b138f6403e58bd
Reviewed-on: https://gerrit.libreoffice.org/51955
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
2018-05-21 13:27:34 +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