diff options
author | Zolnai Tamás <zolnaitamas2000@gmail.com> | 2013-09-11 14:35:58 +0200 |
---|---|---|
committer | Zolnai Tamás <zolnaitamas2000@gmail.com> | 2013-09-15 18:45:56 +0200 |
commit | 1ae3638dbf82239ab3e64cbbc8ab34394a3fa1e2 (patch) | |
tree | 943fedd22827109ae6af17bdb58241a8a20a5480 /svtools | |
parent | Avmedia/VLC: Zooming 1:2, 2:1, 1:1 (diff) | |
download | core-1ae3638dbf82239ab3e64cbbc8ab34394a3fa1e2.tar.gz core-1ae3638dbf82239ab3e64cbbc8ab34394a3fa1e2.zip |
Fix drawing of fine dashed border type
On the Borders tab in the preview block (called User-defined area
in help) fine dashed border is drawn as solid line.
The problem is that 1 pixel gap is too small and painting
can hadnle it so I doubled the numbers to get the same rate and
get the rigth visual result.
Change-Id: Ide037fa3f4f90b304dc53f5f806c2acd2194ec0c
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/control/ctrlbox.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx index cefcc0317c5d..8855dcd607d8 100644 --- a/svtools/source/control/ctrlbox.cxx +++ b/svtools/source/control/ctrlbox.cxx @@ -625,8 +625,8 @@ namespace svtools case STYLE_FINE_DASHED: if ( eUnit == MAP_PIXEL ) { - aPattern.push_back( 4 ); - aPattern.push_back( 1 ); + aPattern.push_back( 8 ); + aPattern.push_back( 2 ); } else if ( eUnit == MAP_TWIP ) { |