| Summary: | The Plot is not centered | ||
|---|---|---|---|
| Product: | [Applications] kalzium | Reporter: | Alessandro Garberi <agarberisoft> |
| Component: | general | Assignee: | Kalzium Developers <kalzium> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 1.3.1 | ||
| Target Milestone: | --- | ||
| Platform: | Slackware | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Alessandro Garberi
2005-08-01 23:00:09 UTC
I can confirm this for latest svn. The right y-axis is out of the black widget. I bet this is a layout problem. Pino: Could you have a look? SVN commit 449410 by pino:
Take the space for the y axis label.
CCBUG: 109979
M +1 -0 elementdataviewer.cpp
--- branches/KDE/3.4/kdeedu/kalzium/src/elementdataviewer.cpp #449409:449410
@@ -45,6 +45,7 @@
QVBoxLayout *vlay = new QVBoxLayout(hlay, 0 );
m_pPlotSetupWidget = new PlotSetupWidget( page, "psw" );
m_pPlotWidget = new PlotWidget( 0.0,12.0,0.0,22.0, page, "plotwidget" );
+ m_pPlotWidget->setYAxisLabel(" ");
hlay->addWidget( m_pPlotSetupWidget );
vlay->addWidget( m_pPlotWidget);
SVN commit 449411 by pino:
Take the space for the y axis label.
BUG: 109979
M +1 -0 elementdataviewer.cpp
--- branches/KDE/3.5/kdeedu/kalzium/src/elementdataviewer.cpp #449410:449411
@@ -47,6 +47,7 @@
m_pPlotSetupWidget->from->setMaxValue( d->numberOfElements() - 1 );
m_pPlotSetupWidget->to->setMaxValue( d->numberOfElements() );
m_pPlotWidget = new PlotWidget( 0.0, 12.0 ,0.0 ,22.0, plainPage(), "plotwidget" );
+ m_pPlotWidget->setYAxisLabel(" ");
m_pPlotWidget->setMinimumWidth( 200 );
m_pPlotWidget->resize( 400, m_pPlotWidget->height() );
|