message: add commented out method for icon size in vertical taskmanager
diff: @@ -29,6 +29,8 @@ class LTaskManagerPlugin : public LPPlugin{
  public:
  LTaskManagerPlugin(QWidget *parent=0, QString id="taskmanager", bool horizontal=true);
  ~LTaskManagerPlugin();
  +// int vertsizeicon;
  +// int *dpi; //this comes from the PCDM dpi
  private:
  QList<LTaskButton*> BUTTONS; //to keep track of the current buttons
  @@ -61,8 +63,14 @@ public slots:
  this->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Expanding);
  this->layout()->setAlignment(Qt::AlignTop);
  QSize sz(this->width(), this->width());
  +// QSize sz(this->width(), this->height()); //we want to increase the width but not the height of the icons
  for(int i=0; i<BUTTONS.length(); i++){
  BUTTONS[i]->setToolButtonStyle(Qt::ToolButtonTextUnderIcon);
  +// BUTTONS[i]->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);
  +// if( dpi = 196 ){ int vertsizeicon = ; BUTTONS[i]->setIconSize(vertsizeicon);}
  +// elseif( dpi = 144 ) { int vertsizeicon = ; BUTTONS[i]->setIconSize(vertsizeicon);}
  +// elseif( dpi = 96 ) { int vertsizeicon = ; BUTTONS[i]->setIconSize(vertsizeicon);}
  +// elseif( dpi = 48 ) { int vertsizeicon = ; BUTTONS[i]->setIconSize)vertsizeicon);}
  BUTTONS[i]->setIconSize(sz);
  }
  }
  