[Kst] branches/work/kst/portto4/kst/src/widgets
Joshua Netterfield
drmrshdw at gmail.com
Wed Aug 3 20:10:15 UTC 2011
SVN commit 1244702 by joshuanetterfield:
Set custom line edits to resize to contents and removed a duplicate latex symbol.
M +1 -1 cclineedit.cpp
--- branches/work/kst/portto4/kst/src/widgets/cclineedit.cpp #1244701:1244702
@@ -532,7 +532,6 @@
_allData->back().back().push_back("Int");
_allData->back().back().push_back("Leq");
_allData->back().back().push_back("Le");
- _allData->back().back().push_back("Nu");
_allData->back().back().push_back("Ne");
_allData->back().back().push_back("Overline{");
_allData->back().back().push_back("Odot");
@@ -1009,6 +1008,7 @@
{
// resizeColumnsToContents();
int bestWidth=qMax(width(),(int)((horizontalHeader()->length()+verticalScrollBar()->width())));
+ horizontalHeader()->setResizeMode(QHeaderView::ResizeToContents);
horizontalHeader()->setStretchLastSection(1);
setMinimumWidth(bestWidth);
setMaximumWidth(bestWidth);
More information about the Kst
mailing list