summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)Author
2019-09-19Related: tdf#124148 null-deref on clicking inside empty listboxCaolán McNamara
since... commit ce9dab8c161e29769131cec741a6a9cceec8552d Date: Thu Mar 28 17:43:29 2019 +0900 tdf#124148 add configurable margin for the listbox pop-up list Change-Id: Id0bedb86f4fb74aff230d65f1e4371959814fd0f Reviewed-on: https://gerrit.libreoffice.org/70151 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 728f074ab672469af933d492843230bd5c5bd0cd)
2019-09-19Resolves: tdf#123175 don't use NWF to draw buttons with an overridden bgCaolán McNamara
Change-Id: I434f476f62c5c754d96eeb0cb9ad7c0b8d38ccec Reviewed-on: https://gerrit.libreoffice.org/70069 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2019-09-18libreofficekit: send show/hide messages for dialogsSzymon Kłos
Change-Id: I2b3ff5e5122b2be099be500ac544bf81f8d1b2ae Reviewed-on: https://gerrit.libreoffice.org/71544 Tested-by: Jenkins Reviewed-by: Jan Holesovsky <kendy@collabora.com> (cherry picked from commit e575a5e8f89beb3ce1df5a1d83edc0f9d1d8ac43) Reviewed-on: https://gerrit.libreoffice.org/79091 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2019-09-17tdf#127189 FreeType <= 2.8 will fail to render stretched horizontal brace...Caolán McNamara
glyphs in starmath at a fairly low stretch ratio. The failure will set CAIRO_STATUS_FREETYPE_ERROR on the surface which cannot be cleared, so all further painting to the surface fails. This appears fixed in 2.9 with https://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=91015cb41d8f56777f93394f5a60914bc0c0f330 "Improve complex rendering at high ppem" Change-Id: I8cbf8347ccd29beda4057b14f2e68678f6030bf4 Reviewed-on: https://gerrit.libreoffice.org/78590 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de> Reviewed-on: https://gerrit.libreoffice.org/79032 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2019-09-16tdf#126964: Set background colours to white in IosSalFrame::UpdateSettings()Tor Lillqvist
Change-Id: I92110a7a501571d7fd707dc33502ff553f02ae5e Reviewed-on: https://gerrit.libreoffice.org/77823 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com> (cherry picked from commit e84c42ee32d1a23729c65b534c4418e2043f706d) Reviewed-on: https://gerrit.libreoffice.org/78994
2019-09-16Revert "vcl: better decimal handling in NumericFormatter"Aron Budea
This reverts commit e9a48869fe1f1e90c03d299ae419ea5b1f43de50. Change-Id: I81269296ab3ca3f071707cf22c4b59964baed863 Reviewed-on: https://gerrit.libreoffice.org/78980 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Aron Budea <aron.budea@collabora.com>
2019-09-05tdf#126007 tdf#122355 online help won't look into a dialog notebookCaolán McNamara
when the focus is on the help button, offline will through the help fallback route, but online will just fire and forget and let the server side do a fallback, which can't know what the current notebook page was. so bodge it to look at the notebook page right from the start if there is one and its the help button itself which starts the request Change-Id: Ida1d3101d838d99639dda12c438414c16b1ccda5 Reviewed-on: https://gerrit.libreoffice.org/77550 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2019-09-05tdf#81134 Chart size not retainedNoel Grandin
Change-Id: I39019e29a988b7b9e12505537fdb69d83223600d Reviewed-on: https://gerrit.libreoffice.org/75329 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/78422 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2019-09-04pdfexport: improved detection of failure to print with --disable-guiAshod Nakashian
PDF printing tests cannot run when we don't have the proper support enabled, so we need to detect those cases and avoid failing the test unnecessarily. Change-Id: Ia602dbb5c3d16c082a8ff6e707db90501bb5453c Reviewed-on: https://gerrit.libreoffice.org/78610 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2019-09-03Attempt to load the theme when LibreOfficeKit is active.Jan Holesovsky
Change-Id: Ie8640b7179a96cb40fb774ede097ca7b3640edd8 Reviewed-on: https://gerrit.libreoffice.org/72349 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit 7d55c2b8886ae00a60aa469503f596ee488c25c0) Reviewed-on: https://gerrit.libreoffice.org/72353 Tested-by: Jenkins Reviewed-on: https://gerrit.libreoffice.org/78561
2019-09-03vcl: better decimal handling in NumericFormatterAshod Nakashian
When the user deletes the decimal point from MetricBox, it ends up with the number with the fractional portion (to the right of the decimal point) appended to it, which is (with two decimal points) a 100x larger value. This makes such editing smarter. In the case that we detect that the user deleted the decimal point (which we know should've been there, because we have a configured fixed number of decimal points,) we restore it. This makes it more intuitive, since when the user enters digits, they get the correct and expected result, but when they delete the decimal point, they almost always didn't mean to grow the number 100x. If that was the goal, they could enter two extra digits before the decimal point. In addition, we set the default maximum to a more user-friendly value of a million, instead of int-max, which seems like a random number to the uninitiated. Change-Id: Ib535f06e4f111d20f35c4209ad65969dca5928e8 Reviewed-on: https://gerrit.libreoffice.org/75511 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Jan Holesovsky <kendy@collabora.com> (cherry picked from commit 42761c688053155ae87628e69eb4d2a28e6c78e6) Reviewed-on: https://gerrit.libreoffice.org/78453 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2019-09-03vcl: LOK: emit size_changed after window creationAshod Nakashian
This guarantees that the correct size of the window is set on the client side. Some windows are created with default (and invalid) size and rely on Resize to be called right after. This doesn't happen with message boxes and they need to get size_changed right after the window is fully created and ready. (cherry picked from commit abd504c70b7b36b20082677a1b1eef6ff937a6f7) Change-Id: I8c281a31770de4b37b9de6d333159e5379344dff Reviewed-on: https://gerrit.libreoffice.org/77508 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2019-09-03vcl: LOK: notify of dialog creation before size changeAshod Nakashian
Notifying the size change of a non-existing dialog is worse than useless. This also fixes the issue with positioning dialogs in the center of the client window. Reviewed-on: https://gerrit.libreoffice.org/66517 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com> (cherry picked from commit 1f05243e16eff3849078a47be4e9b49eae9e5954) Change-Id: I2e8163f4c5a0a09f79ea11c704c250b17a158948 Reviewed-on: https://gerrit.libreoffice.org/78436 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2019-09-03LOK: dialogs: limit listbox/combobox drop-down lengthAshod Nakashian
Dialogs routed to the LOK client have limited real estate on the screen because dialogs are rendered on a canvas. When the listbox drop-down bleeds outside the dialog area, on the desktop it's no problem, but in the browser, that requires a larger canvas and that brings a host of problems. Here we limit the maximum length of listbox/combobox drop-down lists to avoid this situation. This would ideally be configured via ListBoxMaximumLineCount alas it doesn't work. Change-Id: I55fff28dbfc59dec36714e221f76cf4160ba1505 (cherry picked from commit 9c5321f577940a0cd78a3af4461e94c4fdb78d63) Reviewed-on: https://gerrit.libreoffice.org/78435 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2019-08-29custom widgets: Rename 'stock' to 'action'.Jan Holesovsky
If the button has this property, it means it is located in the action area, not that it is a stock button per se. (cherry picked from commit ec1b227b435a555464cb2a9fe747631485ebdbf1) Change-Id: Ia57ad24d8cd4ff1d7b74d7ef82da0f352fe3deb3
2019-08-29tdf#124155 fix slider to not go beyond rect boundsTomaž Vajngerl
We need to ask the NWF for the size of the thumb and not just use the hard-coded value. Change-Id: I98c6b5782c6a043fc358198ddf844d36d7aa90d6 Reviewed-on: https://gerrit.libreoffice.org/70201 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit 9956cf0692058414ef3efdb0e8058fbb0b39f6bc)
2019-08-29tdf#124947 fix hit area of the radio buttons, size in ios themeTomaž Vajngerl
The hit area of the radio buttons was not calculated correctly, so sometimes when you hit the radio button at the "wrong" place, nothing happened. This fixes the hit area to correctly cover the radio button and the text. Another issue was that the ios theme size of the radio button was not defined correctly (32px instead of 26px), which increased the error when calculating the hit are even more. The height of the radio button should be the same as defined in the definition.xml, and not bigger (or smaller). Change-Id: I4b03f36ca9d9c82bd6dc442bd6e06af938c62bdd Reviewed-on: https://gerrit.libreoffice.org/73592 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit 302a00a3190743f5e6d2b61e5b40e493c4744b7e)
2019-08-29widgettheme: support multiple spinbox orientationsTomaž Vajngerl
This adds the ability to define the spinbox orientation that has decrease and increase buttons on the right side and can be changed by adding "orientation="edit-decrease-increase" to the Spinbox "Entire" part in the widget definition. Change-Id: I3601a987a4abb8d998e9cd2d8973d794d3d66f9b Reviewed-on: https://gerrit.libreoffice.org/72662 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit 3b67ad5f11714d6bea83ec8511f7723dbd999c56)
2019-08-29Look for "online" theme when running LOOL and "ios" only on IOSTomaž Vajngerl
Change-Id: I5ac2c764dd11381d6354a7727700ba1fa4b76a53 Reviewed-on: https://gerrit.libreoffice.org/72269 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit 5053584e71d98ae6bfba405145c45815ba7ad898)
2019-08-29Gaceful fallback if the widget theme files can't be foundTomaž Vajngerl
Change-Id: Ied3831c83ed385f5f28b82eb1ee67a2a4448cd05 Reviewed-on: https://gerrit.libreoffice.org/72268 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit c6bf2562df8ed060b0cf3da39c5641f080c01086)
2019-08-29tdf#124150 increase size of color valueset widgetTomaž Vajngerl
Size of the color value set can be set through settings, but there was no setter. Added a setter and set it to a bigger value so it is better suited for touch. Change-Id: I8c9b17f7379c4702b0faf7847f1e6292cd89b0d0 Reviewed-on: https://gerrit.libreoffice.org/70031 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit c2108dd683ec7ff0bcaac8456c6cce9610a2993a)
2019-08-29tdf#124148 add configurable margin for the listbox pop-up listTomaž Vajngerl
This is needed to increase the area of lisbox entries in the pop-up list so it is easier to select with touch. Reviewed-on: https://gerrit.libreoffice.org/69889 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit ce9dab8c161e29769131cec741a6a9cceec8552d) Change-Id: Iedb910508de26c903dc3f50f645f567d4c988940
2019-08-29WidgetDefinition: add "action" state for the PushButtonTomaž Vajngerl
Change-Id: I0db9ec275cc95184ceb2cdbce8ae5343a10582c1 Reviewed-on: https://gerrit.libreoffice.org/71861 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit 7764439f85f23efb4510b41e795abd1e4c9089e9)
2019-08-29fix spinbox right press SVG - plus sign didn't define a colorTomaž Vajngerl
Change-Id: I1db6c5e4841530be7d46e8829899bf3f8cef8a3b Reviewed-on: https://gerrit.libreoffice.org/70293 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit 95573cad5793ab6743307890b56c205e21fe9d6d)
2019-08-29support opacity for widget definition draw SVGsTomaž Vajngerl
This opacity influences the whole shape (stroke and fill). Change-Id: I82e10e07dbf2f321805b55a5f4831a513e52dab8 Reviewed-on: https://gerrit.libreoffice.org/70292 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit fcb00ac8ebe2acb429f09ef5b728b8c73a5bbc37)
2019-08-29ios widget defs: update combobox, checkbox, spinbox SVGsTomaž Vajngerl
In addition remove spinbox pressed state (it wasn't useful) and draw white filled empty rect for spinbox as we don't draw the background automatically. Change-Id: I892108c5839dc463cdb9e4f4f09276fc184f4944 Reviewed-on: https://gerrit.libreoffice.org/70258 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit 64ee37e4409dbde80bd98fb8d3f65b0146b9cb92)
2019-08-29ios theme definition: add slider disabled stateTomaž Vajngerl
Change-Id: Ie4388f00c4a0c11df77782691fe9ea7f706d2b5c Reviewed-on: https://gerrit.libreoffice.org/70231 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit aa5abc875934990d1ecec17abc6c58d51afd10b1)
2019-08-29ios theme definition: file rename svgx -> svgTomaž Vajngerl
Change-Id: I9bebc4405185496b8243e6f7951a2a9f0b6559fb Reviewed-on: https://gerrit.libreoffice.org/69932 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit 45f975f8180f782cf71173a4526d17d6e74b9583)
2019-08-29fix mistake by setting default scale factor to 2.0Tomaž Vajngerl
Change-Id: I293cddf1106cdc718cd7e01fdfb3e352776b3e39 Reviewed-on: https://gerrit.libreoffice.org/69732 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit e98469ea2271edbf75445c1ff883c365785b7f86)
2019-08-29Rename DrawCommand* to WidgetDrawAction*, remove unused circ drawTomaž Vajngerl
Change-Id: Icef900e75255d477812a198fdb29e0cdebba35b8 Reviewed-on: https://gerrit.libreoffice.org/69654 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit d3922a93a096e07ab54e91fd0dd7c86302f33b78)
2019-08-29ios widget theme: make corners of widgets more round (rx,ry = 4px)Tomaž Vajngerl
Change-Id: I2fe8d6570940e08dcf5cce1b335fe81e9d461e5e Reviewed-on: https://gerrit.libreoffice.org/69316 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit 8a8c029244e8a27efd92017968313c2116a9776a)
2019-08-29ios widget theme: draw focus rectangles for widgetsTomaž Vajngerl
Change-Id: I92d42d100c515cbe744d13050a424b7f584a7adb Reviewed-on: https://gerrit.libreoffice.org/69315 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit 30ae10c92d52ad7c6cdc569c87228d7f9adaadf5)
2019-08-29ios widget theme: fix wrong svg filename for the button in editboxTomaž Vajngerl
Change-Id: I3c40e62bba3590f547e50bb3eca221112ce92405 Reviewed-on: https://gerrit.libreoffice.org/69314 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit ac12cd5f6813bf740417a4d732f7b0a1761bd3e7)
2019-08-29move the content of theme_definitons to ios subdirTomaž Vajngerl
As we want more widget themes added in the future, add the content of theme_definitions to its own "ios" folder (as it is a theme mimicking ios look&feel). Change-Id: Ie435263c3861aaa324e02cfe955b8288211b2888 Reviewed-on: https://gerrit.libreoffice.org/69313 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit b3c6665de2206a922d1a058bb1f5e9f76f792335)
2019-08-29widget theme: change the tab item height to (min) 32 pxTomaž Vajngerl
Change-Id: I1919300071a06242fe832880b46c944989daa4b6 Reviewed-on: https://gerrit.libreoffice.org/69057 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit 212a40aaf7ec3316d5209b688f5f79821f99fbdc)
2019-08-29better adjustment algorithm for dynamic sized widgetsTomaž Vajngerl
A algorithm that gives better results for dynamically sized widgets is to increase proportionally only the points in shapes that are over the half of the widget width (or height, when adjusting the other dimension). This preserves the margins and doesn't distort the shape of the paths, which is especially visible when the source needs to be largely resized in one dimension only. Change-Id: I2cceb249063387c0f7400ef8d75adb5899aa8c23 Reviewed-on: https://gerrit.libreoffice.org/69056 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit 897f6f6252f38e93764aa0e72135768ab1ec3679)
2019-08-29cache file based widget images and draw commandsTomaž Vajngerl
It is wasteful to parse svg icons all the time so lets cache the result when this make sense in a LRU map. Change-Id: I95cc317c9301138a9e384d270223ba147a123e59 Reviewed-on: https://gerrit.libreoffice.org/69055 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit 805b15ce536e3d6c40d0dc4f98b5aa6ffa5344c0)
2019-08-29widget theme: slight window borders, use font 10 instead of 12Tomaž Vajngerl
Change-Id: I6b0ba769817894b99c3f757d23948783a66fce12 Reviewed-on: https://gerrit.libreoffice.org/69023 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit 2513e6864fee07da9ec8ea5489ada82de0991b15)
2019-08-29widget theme: support disabled pushbuttonTomaž Vajngerl
Change-Id: I8c6e019f5d1f12c85334f3440e09ef755ed6863d Reviewed-on: https://gerrit.libreoffice.org/69022 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit 5d535ffbe34b09a75f8e41fc46be1ed0eb1fbdfa)
2019-08-29widget theme: add support for menubar, menupopup and tooltipTomaž Vajngerl
But they are not used - for now. Change-Id: I93a74f5a9e52791fd08afbb5502427a0684d60cf Reviewed-on: https://gerrit.libreoffice.org/69021 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit 7e5fe834e722d51b5e82ecddfe549ec21c7a225e)
2019-08-29widget theme: change color for window background and frameTomaž Vajngerl
Change-Id: I37f1524db71eea2912ffb65fdd7a00605e6b1d4d Reviewed-on: https://gerrit.libreoffice.org/69017 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit e089b75ba2758183e6eb389d4070560c8989c4e4)
2019-08-29widget theme: take into account scaling factor for imagesTomaž Vajngerl
Change-Id: I65bd71dfd113fae33aee7c2b60b945e065314f80 Reviewed-on: https://gerrit.libreoffice.org/69016 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit cbfe46bf79ac89f7cd1916eeaaf5f10164038535)
2019-08-29widget theme: draw slider button from svg, left and right trackTomaž Vajngerl
Change-Id: Iaba4a67845699d795c719d0259e93bb6c72df470 Reviewed-on: https://gerrit.libreoffice.org/69015 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit 100ea3038b033b6b168860e203e893ae8f67b9c1)
2019-08-29widget theme: draw listheader button and arrowTomaž Vajngerl
Also adds support for signaling if arrow points up or down, which is signaled through extra attribute. Change-Id: I5a87cdb31e18150495df521bf925c7b983e2313a Reviewed-on: https://gerrit.libreoffice.org/69013 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit 8ff3e9a418a6f154d3ecb2df669fbd70361ae0c0)
2019-08-29widget theme: support "height" for editbox and set to "32"Tomaž Vajngerl
Change-Id: Iff48c83b6f1b28bc7fbf7646c399a844a3155970 Reviewed-on: https://gerrit.libreoffice.org/69012 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit 3ae8b9301fa817968f3115639bc8a5f2170d179e)
2019-08-29widget theme: toolbar drawing definition - separator, buttonsTomaž Vajngerl
Change-Id: Ic8574c0f0c3c51526254c34d820977a0fbb520a0 Reviewed-on: https://gerrit.libreoffice.org/69011 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit cdabde598e9569b9427b70d616e50f22daa1bb61)
2019-08-29widget theme: adjust draw positions of editbox, combobox, listboxTomaž Vajngerl
Change-Id: Id14b5530c994e10bb9f45f036b43025c73c7ac83 Reviewed-on: https://gerrit.libreoffice.org/68977 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit a66e0f83cb488e024319f67add61b08528a39596)
2019-08-29only read and parse widget definition once from the fileTomaž Vajngerl
Change-Id: I71c095e5e5dd21650663e6fb717bcb22958a597f Reviewed-on: https://gerrit.libreoffice.org/68976 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit e9393e392e95ec8fcab77662790482aa0adf0f78)
2019-08-29Separate style colors from WidgetDefinition into its own classTomaž Vajngerl
Change-Id: I11cd695da81bae7b49b2319b89e5c560ba64f04e Reviewed-on: https://gerrit.libreoffice.org/68975 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit 4e25914b165d7ed64b3026af758fb857676aacd5)
2019-08-29Fix multiline tabs drawing of first / last tabTomaž Vajngerl
Use is{Left,Right}Aligned instead of is{First,Last}. In multi-line tabs, not only first/last item needs to be drawn differently, but also some middle, which is now the first in the new line now. Change-Id: I81ddde192eca794f16df98d629f47991c59732c7 Reviewed-on: https://gerrit.libreoffice.org/68945 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit 86d9b85fb05d3d32fba4642e1231595341612d15)