if Sidebar last-child is first-child flex-end was not the rule
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I9e7a744cf9b4d703bec33e39a30f4ab31d2160f9
define the width of the shadow sidebar section
to make the widgets right aligned.
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Ifd371e15f78fb62434a71367943d554c8a10a92c
Align widgets to the right
add some left positioning for some widgets
and done
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I64936c644ed1bcba47c0a12f9a2df45b56abce6e
with additional 2px .sidebar.jsdialog.cell width
the vertical alignment cell and paragraph commands
can stay within one row and no new table-row is needed
result no jumping UI
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: Ibd543d0c35778485ff07b013af52e2c6aa401457
Sidebar Writer Table
- first column width was defined to fix vertical alignment
- Row height / Column width widget was moved to be vertical aligned
with indent paragraph widgets
- buttons moved up to have a similar layout than in paragraph
spacing / indent
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I6f41b25c79650781087821473d15edac253a47ab
the following commands will popup an dialog:
- CompressGraphic
- GraphicDialog
- InsertCaptionDialog
- FontDialog
- FontDialogForParagraph
- TableDialog
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I824e883f2ea8979edf7a752e267acf76c0e29d4b
in this case we have headers on the right so no need
to offset horizontally from left
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: I8beeef2e1e67804c90277046ef19a453318d2d92
core is adjusted to send offset for autofilter popup
related to gridwindow (spreadsheet area) instead of
absolute screen coordinates - what helps to simplify
code.
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
Change-Id: If011451513c80902fc436116528e2e21a929b42c
Header Text and Section Text are left aligned
so each String start with the same space from the left
sidebar border
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I99841388f23bdb7f7493611c96689f3455999a5a
Make sure gray background or any bg for that matter is used on hover
- It shouldn't be used because each style is an image with white bg
Decrease hover status prominence so it's still visible which style is
selected
Also do not add hover status for the selected style, as clicking on it
would not change the selected style
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ie66abada24a7c6491987d9052dc94bba920d5a7f
Steps to reproduce the issue:
1. Set per_document / idle_timeout_secs to something small, like 30,
2. Open a spreadsheet with various row heights,
3. Wait until you idle out of the session,
4. Open the same file from another browser tab/window, add an empty row near the top, then close it,
5. Wait a little bit (let's say ~5s), and click into the original session, then select various cells.
-> Note how the selection is misaligned.
Root cause:
When a session becomes idle (at least for the current use-case) the
corresponding lok-view is terminated and when the js-view is resumed a
new lok view is created! In this case there is no one to one
correspondence between a js-view and lok-view. So there is no
remembering of events or replaying of events.
Fix:
Ask for sheetgeometry whenever the cool-client resumes.
Signed-off-by: Dennis Francis <dennis.francis@collabora.com>
Change-Id: If445cf28f8add46ce478e3a87e2ad8ada6cf2eb0
No need to have border when using Notebookbar mode
- Now the nb tabs are buttons and the goal is to make NB mode with less
decorative elements (since it has more buttons)
- Except for Calc where formula bar is there and a border increases
helps with the difference between cells and sidebar
- It also looks beter when the tabs are collapsed
- Border was being wrongly set twice
- Fix that and use CSS logical properties instead
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I1e81007c9075f384d8be47d3ad2947d936a8f6b7
We can hid the whole container and avoid the background of that
container to be visible (when collpased)
- This was useful in the before when the tabs were visually "connected"
to the content
- Also it was done like that before to give a "clue" to the user that
something is there and can be expanded but probably by now it's not
needed and if the user actively collpased them then he/she would know
how to expand them
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ib586f4aa3e83e650276b25c2ac13d45f475816e3
Content parent was being set with shadow while the main parent element
also has shadow
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: I4f8f13f579e5b1205433801e95cc482c63f1fcc7
The buffer and length parameters were unused in methods in ChildSession.
Signed-off-by: Kristopher Maxwell <kristophermaxwellc@gmail.com>
Change-Id: I6aff3c92a5d787db84bbe64aa13f2f0160340f7f
Re-align indicator and make sure indicator has white space
around it (on top of the save icon) so to increase its
readability
Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Ieaf4258c3dc594aa47904a1066deaee11417053d
--header-font-size is for the user of font in header sections
--default-height is used for the height of --default-font-size elements
Signed-off-by: andreas kainz <kainz.a@gmail.com>
Change-Id: I16b7f0b5755cb54ceb26b6af66d13a8411fa0d84