Comment 0 for bug 1200542

Revision history for this message
Nekhelesh Ramananthan (nik90) wrote :

Currently, the clock app can be resized to any size. However by reducing its height and width below a certain value, you cannot use it for any practical purposes. A reasonable minimum width and height should be defined such that the clock app is still usable at that height, width.

-----------------------------------------------------------------
Solution to the bug

Right now the height and width are defined in the ubuntu-clock-app.qml file as 50, 75. Instead of hardcoding this value, it would be nice if qml implicitHeight and implicitWidth are used to get the minimum width and height of the components displayed in the clock app to calculate its required window dimensions. By doing it this way, the minimum window dimensions will be connected to the components dimension and hence will automatically change without any manual tweaking in the future.

Difficulty: Easy