Commit ba0c2210 authored by Karl Ove Hufthammer's avatar Karl Ove Hufthammer

Word-wrap liquify mode tooltip

The tooltip was very long, and didn’t fit on the screen.
Qt doesn’t automatically word-wrap plaintext tooltips,
but wrapping them in ‘<p>…</p>’ turns them into ‘rich text’
tooltip, which adds automatic word wrapping.
parent d9ac1267
......@@ -228,7 +228,7 @@ KisToolTransformConfigWidget::KisToolTransformConfigWidget(TransformTransactionP
buidupModeComboBox->setCurrentIndex(0); // set to build-up mode by default
connect(buidupModeComboBox, SIGNAL(currentIndexChanged(int)), this, SLOT(liquifyBuildUpChanged(int)));
buidupModeComboBox->setToolTip(i18nc("@info:tooltip", "Switch between Build Up and Wash mode of painting. Build Up mode adds deformations one on top of the other without any limits. Wash mode gradually deforms the piece to the selected deformation level."));
buidupModeComboBox->setToolTip("<p>" + i18nc("@info:tooltip", "Switch between Build Up and Wash mode of painting. Build Up mode adds deformations one on top of the other without any limits. Wash mode gradually deforms the piece to the selected deformation level.") + "</p>");
liquifySpacingSlider->setRange(0.0, 3.0, 2);
liquifySizeSlider->setExponentRatio(3);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment