Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2
kdebase4-workspace
plasma-panel-resize-hint.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File plasma-panel-resize-hint.diff of Package kdebase4-workspace
Index: plasma/desktop/shell/panelcontroller.cpp =================================================================== --- plasma/desktop/shell/panelcontroller.cpp.orig +++ plasma/desktop/shell/panelcontroller.cpp @@ -663,6 +663,8 @@ void PanelController::mouseMoveFilter(QM newX = qMin(newX, screenGeom.left() + screenGeom.width()/3); move(newX, pos().y()); resizeFrameHeight(geometry().left() - screenGeom.left()); + m_sizeTool->setText(i18n("Width: %1", geometry().left() - screenGeom.left())); + break; } case Plasma::RightEdge: { @@ -671,6 +673,8 @@ void PanelController::mouseMoveFilter(QM newX = qMax(newX, screenGeom.left() + 2*(screenGeom.width()/3) - width()); move(newX, pos().y()); resizeFrameHeight(screenGeom.right() - geometry().right()); + m_sizeTool->setText(i18n("Width: %1", screenGeom.right() - geometry().right())); + break; } case Plasma::TopEdge: { @@ -679,6 +683,9 @@ void PanelController::mouseMoveFilter(QM newY = qMin(newY, screenGeom.top() + screenGeom.height()/3); move(pos().x(), newY); resizeFrameHeight(geometry().top() - screenGeom.top()); + m_sizeTool->setText(i18n("Height: %1", geometry().top() - screenGeom.top())); + + break; } case Plasma::BottomEdge: @@ -688,6 +695,8 @@ void PanelController::mouseMoveFilter(QM newY = qMax(newY, screenGeom.top() + 2*(screenGeom.height()/3) - height()); move(pos().x(), newY); resizeFrameHeight(screenGeom.bottom() - geometry().bottom()); + m_sizeTool->setText(i18n("Height: %1", screenGeom.bottom() - geometry().bottom())); + break; } }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor