changed maximum left and right palette

preferencesAboutTextFull
Claudio Valerio 12 years ago
parent 0ba0dcc79c
commit f5c97bb358
  1. 2
      src/gui/UBLeftPalette.cpp
  2. 2
      src/gui/UBRightPalette.cpp

@ -45,7 +45,7 @@ UBLeftPalette::~UBLeftPalette()
*/
void UBLeftPalette::updateMaxWidth()
{
setMaximumWidth(270);
setMaximumWidth((int)(parentWidget()->width() * 0.45));
}
/**

@ -69,7 +69,7 @@ void UBRightPalette::resizeEvent(QResizeEvent *event)
*/
void UBRightPalette::updateMaxWidth()
{
setMaximumWidth((int)((parentWidget()->width() * 2)/3));
setMaximumWidth((int)(parentWidget()->width() * 0.45));
setMaximumHeight(parentWidget()->height());
setMinimumHeight(parentWidget()->height());
}

Loading…
Cancel
Save