Set width of projects mode to 900px.

We are targetting nothing below netbooks. These devices have screens
 that usually are 1024px wide (or wider), so this increase should be OK
 there.

 The 100px bonus do help a bit when editing environment variables, etc.

Reviewed-by: dt
This commit is contained in:
Tobias Hunger
2009-12-07 15:24:57 +01:00
parent 7ed7684b53
commit 50bd482496

View File

@@ -114,14 +114,13 @@ PanelsWidget::PanelsWidget(QWidget *parent) :
QScrollArea(parent), QScrollArea(parent),
m_root(new QWidget(this)) m_root(new QWidget(this))
{ {
// We want a 800px wide widget with and the scrollbar at the // We want a 900px wide widget with and the scrollbar at the
// side of the screen. // side of the screen.
m_root->setMaximumWidth(800); m_root->setFixedWidth(900);
// The layout holding the individual panels: // The layout holding the individual panels:
m_layout = new QGridLayout(m_root); m_layout = new QGridLayout(m_root);
m_layout->setColumnMinimumWidth(0, ICON_SIZE + 4); m_layout->setColumnMinimumWidth(0, ICON_SIZE + 4);
m_layout->setSpacing(0); m_layout->setSpacing(0);
m_layout->setRowStretch(0, 10);
// Add horizontal space to the left of our widget: // Add horizontal space to the left of our widget:
QHBoxLayout *hbox = new QHBoxLayout; QHBoxLayout *hbox = new QHBoxLayout;