Fix some UI issues and bugs in hyprland-share-picker

This commit is contained in:
marcoilla 2023-01-22 17:33:39 +01:00
parent 5caba00c1d
commit eedc16ee34

View file

@ -105,6 +105,7 @@ int main(int argc, char *argv[]) {
QString text = QString::fromStdString(std::string("Screen " + std::to_string(i) + " at " + std::to_string(GEOMETRY.x()) + ", " QString text = QString::fromStdString(std::string("Screen " + std::to_string(i) + " at " + std::to_string(GEOMETRY.x()) + ", "
+ std::to_string(GEOMETRY.y()) + " (" + std::to_string(GEOMETRY.width()) + "x" + std::to_string(GEOMETRY.y()) + " (" + std::to_string(GEOMETRY.width()) + "x"
+ std::to_string(GEOMETRY.height()) + ") (") + SCREENS[i]->name().toStdString() + ")"); + std::to_string(GEOMETRY.height()) + ") (") + SCREENS[i]->name().toStdString() + ")");
// resize text for graphical reason // resize text for graphical reason
if (text.size() > 60) { if (text.size() > 60) {
text.resize(60); text.resize(60);