Em Terça-feira 18 Maio 2010, Lamarque Vieira Souza escreveu: > Two other problems I have just found: 1. the plasmoid layout gets messed > up if I go to one of the interface detail windows because the traffic > monitor is too big for the plasmoid window. 2. The "back" button in > interface details does not work anymore, I can click on it but it does > nothing.
Well, as I suspected those two problems was in fact only one: the applet window size is too small for the traffic monitor and the connection type label overrides the back button (although I can see the button), which cannot be reached with the mouse anymore. My screen is 1680x1050, maybe the current size work for smaler screen size, but not for me. The attached patch makes it work here, I did not commit it to trunk because I think we should calculate the optimum size taking into account the screen size. > Is there any easy way to increase applet window? Mousing over the upper- > left corner changes mouse cursor as if it would let me resize the window > but dragging it does not nothing. By the way, the battery plasmoid also > act like that (mouse over changes cursor but does not resize) the > difference is that it is the upper-right corner that changes cursor shape. > All plasmoids should use only one corner (left or right) to resize window, > right? :-) Is it possible to let user resize a plasmoid window by dragging one of its corners? -- Lamarque V. Souza http://www.geographicguide.com/brazil.htm Linux User #57137 - http://counter.li.org/ http://www.kde-mg.org
diff -Nru --show-c-function /var/tmp/portage/kde-misc/knetworkmanager-9999-orig/work/knetworkmanager-9999/applet/interfacedetailswidget.cpp /var/tmp/portage/kde-misc/knetworkmanager-9999/work/knetworkmanager-9999/applet/interfacedetailswidget.cpp --- /var/tmp/portage/kde-misc/knetworkmanager-9999-orig/work/knetworkmanager-9999/applet/interfacedetailswidget.cpp 2010-05-18 20:04:03.129925212 -0300 +++ /var/tmp/portage/kde-misc/knetworkmanager-9999/work/knetworkmanager-9999/applet/interfacedetailswidget.cpp 2010-05-18 23:50:31.146677546 -0300 @@ -58,6 +58,9 @@ InterfaceDetailsWidget::InterfaceDetails { m_gridLayout = new QGraphicsGridLayout(this); + // Lamarque + setMinimumHeight(500); + int row = 0; //Type //row++; diff -Nru --show-c-function /var/tmp/portage/kde-misc/knetworkmanager-9999-orig/work/knetworkmanager-9999/applet/nmpopup.cpp /var/tmp/portage/kde-misc/knetworkmanager-9999/work/knetworkmanager-9999/applet/nmpopup.cpp --- /var/tmp/portage/kde-misc/knetworkmanager-9999-orig/work/knetworkmanager-9999/applet/nmpopup.cpp 2010-05-18 20:04:03.139926611 -0300 +++ /var/tmp/portage/kde-misc/knetworkmanager-9999/work/knetworkmanager-9999/applet/nmpopup.cpp 2010-05-18 23:45:37.698728613 -0300 @@ -141,7 +141,8 @@ void NMPopup::init() connect(m_interfaceDetailsWidget, SIGNAL(back()), this, SLOT(toggleInterfaceTab())); m_leftWidget->addTab(i18nc("details for the interface", "Details"), m_interfaceDetailsWidget); - m_leftWidget->setPreferredWidth(300); + // Lamarque increase from 300 too 500. + m_leftWidget->setPreferredWidth(450); m_mainLayout->addItem(m_leftWidget, 1, 0);
_______________________________________________ Kde-hardware-devel mailing list Kde-hardware-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-hardware-devel