[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/work/koffice-ko/kspread
From: Frank Osterfeld <frank.osterfeld () kdemail ! net>
Date: 2010-03-29 12:24:01
Message-ID: 20100329122401.7998BAC883 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1108608 by osterfeld:
apply changes to shrink-to-fit in the layout dialog...
M +3 -0 commands/StyleCommand.h
M +8 -0 dialogs/LayoutDialog.cpp
--- branches/work/koffice-ko/kspread/commands/StyleCommand.h #1108607:1108608
@@ -118,6 +118,9 @@
void setVerticalText(bool verticalText) {
m_style->setVerticalText(verticalText);
}
+ void setShrinkToFit(bool shrink) {
+ m_style->setShrinkToFit(shrink);
+ }
void setDontPrintText(bool dontPrintText) {
m_style->setDontPrintText(dontPrintText);
}
--- branches/work/koffice-ko/kspread/dialogs/LayoutDialog.cpp #1108607:1108608
@@ -2014,6 +2014,7 @@
multi->setChecked(dlg->bMultiRow);
vertical->setChecked(dlg->bVerticalText);
+
shrinkToFit->setChecked(dlg->bShrinkToFit);
angleRotation->setValue(-dlg->textRotation);//annma
@@ -2267,6 +2268,13 @@
_obj->setVerticalText(false);
}
+ if (m_bOptionText) {
+ if (shrinkToFit->isEnabled())
+ _obj->setShrinkToFit(shrinkToFit->isChecked());
+ else
+ _obj->setShrinkToFit(false);
+ }
+
if (dlg->textRotation != angleRotation->value())
_obj->setAngle((-angleRotation->value()));
if (m_indent->isEnabled()
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic