diff options
author | Gunnar Sletta <gunnar.sletta@jollamobile.com> | 2015-04-30 09:56:02 +0200 |
---|---|---|
committer | Gunnar Sletta <gunnar@sletta.org> | 2015-05-08 17:56:37 +0000 |
commit | dda7cf39733562953d6ed7c37d43dccfc970c4ef (patch) | |
tree | c11a7b4425e4a23c2da658636ebe3622f4bf952e | |
parent | 653149a7cd455f2619af2bd54280eebecef87ea4 (diff) |
Fix bullet positioning
Change-Id: I05c3770d9930f70aeaeea42826dad9b986685f73
Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
-rw-r--r-- | src/Slide.qml | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/Slide.qml b/src/Slide.qml index e46b568..d5c43c8 100644 --- a/src/Slide.qml +++ b/src/Slide.qml @@ -167,20 +167,19 @@ Item { Rectangle { id: dot - y: baseFontSize * row.indentFactor / 2 - width: baseFontSize / 4 - height: baseFontSize / 4 + anchors.baseline: text.baseline + anchors.baselineOffset: -text.font.pixelSize / 2 + width: text.font.pixelSize / 3 + height: text.font.pixelSize / 3 color: slide.textColor radius: width / 2 - smooth: true opacity: text.text.length == 0 ? 0 : 1 } - Rectangle { + Item { id: space - width: dot.width * 2 + width: dot.width * 1.5 height: 1 - color: "#00ffffff" } Text { |