|
|
@ -512,16 +512,18 @@ void UBBoardPaletteManager::containerResized() |
|
|
|
mKeyboardPalette->adjustSizeAndPosition(); |
|
|
|
mKeyboardPalette->adjustSizeAndPosition(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if(mLeftPalette) |
|
|
|
// NOTE @letsfindaway Fixed, but don't see any reason for this.
|
|
|
|
|
|
|
|
// Probably remove.
|
|
|
|
|
|
|
|
if(mLeftPalette && mLeftPalette->width() > 0) |
|
|
|
{ |
|
|
|
{ |
|
|
|
mLeftPalette->resize(mLeftPalette->width()-1, mContainer->height()); |
|
|
|
mLeftPalette->resize(mLeftPalette->width()-1, mContainer->height()); |
|
|
|
mLeftPalette->resize(mLeftPalette->width(), mContainer->height()); |
|
|
|
mLeftPalette->resize(mLeftPalette->width()+1, mContainer->height()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if(mRightPalette) |
|
|
|
if(mRightPalette && mRightPalette->width() > 0) |
|
|
|
{ |
|
|
|
{ |
|
|
|
mRightPalette->resize(mRightPalette->width()-1, mContainer->height()); |
|
|
|
mRightPalette->resize(mRightPalette->width()-1, mContainer->height()); |
|
|
|
mRightPalette->resize(mRightPalette->width(), mContainer->height()); |
|
|
|
mRightPalette->resize(mRightPalette->width()+1, mContainer->height()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|