librehat / com.librehat.yahooweather

[DEPRECATED] Yahoo! Weather Widget for Plasma Desktop
https://www.kde-look.org/p/998912/
GNU General Public License v3.0
23 stars 11 forks source link

Re #59: Set widget dimension so default size fits for panel popup. #61

Closed smitgd closed 8 years ago

smitgd commented 8 years ago

Adds top level "height:" and "width:" values so that text in panel pop-up fits inside the box with text at edges not cut off. Only tested for worst case English text so not sure that the dimensions are large enough for the various translation texts. Changes committed: modified: plasmoid/contents/ui/Weather.qml

smitgd commented 8 years ago

Another way to do this is to change these instead of adding height: and width: Layout.minimumWidth: units.gridUnit * 18 Layout.minimumHeight: units.gridUnit * 20 However, making these larger causes resize for the desktop install to have a larger minimum size.