From: Tzvetomir (VMware) Stoyanov <tz.stoyanov@xxxxxxxxx> Both "Marker A" and "Marker B" buttons were too tight to fit the button's label on them. Add some extra space. Signed-off-by: Tzvetomir (VMware) Stoyanov <tz.stoyanov@xxxxxxxxx> --- src/KsDualMarker.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/KsDualMarker.cpp b/src/KsDualMarker.cpp index 3e0b462..e2b8ac1 100644 --- a/src/KsDualMarker.cpp +++ b/src/KsDualMarker.cpp @@ -145,8 +145,8 @@ KsDualMarkerSM::KsDualMarkerSM(QWidget *parent) { QString styleSheetA, styleSheetB; - _buttonA.setFixedWidth(STRING_WIDTH(" Marker A ")); - _buttonB.setFixedWidth(STRING_WIDTH(" Marker B ")); + _buttonA.setFixedWidth(STRING_WIDTH(" Marker A ") + FONT_WIDTH); + _buttonB.setFixedWidth(STRING_WIDTH(" Marker B ") + FONT_WIDTH); for (auto const &l: {&_labelMA, &_labelMB, &_labelDelta}) { l->setFrameStyle(QFrame::Panel | QFrame::Sunken); -- 2.25.1