[Digikam-devel] Re: [Patch] make UI more usable on small screens

Gilles Caulier caulier.gilles at gmail.com
Fri Feb 18 09:58:43 GMT 2011


Mathias,

Some progress over your patch in Bugzilla ?

Gilles Caulier

2011/2/11 Gilles Caulier <caulier.gilles at gmail.com>:
> 2011/2/11 Matthias Welwarsky <matze at welwarsky.de>:
>> On Thursday 10 February 2011 20:46:45 Matthias Welwarsky wrote:
>>> With the patch, any SidebarWidget derivative actually becomes a
>>> QScrollArea, which contains the actual tool view. To determine an
>>> appropriate
>>> minimumSizeHint(), it requests the minimumSizeHint() of the widget it
>>> contains and makes sure the width is not larger than 20% of the screen
>>> width.
>>>
>>> Before, the largest minimumSizeHint() of all widgets in the sidebar would
>>> determine its minimum width. For widgets like the gpssearch this was > 300
>>> pixels, which means the sidebar took more than 1/3rd of a 1024 pixel
>>> screen, no matter which tool was opened.
>>>
>>> The patch allows the sidebar to become smaller than what the largest tool
>>> widget demands. To achieve this, overriding the minimumSizeHint() in class
>>> SidebarWidget would have been enough, but then tools demanding larger size
>>> become squeezed pretty badly.  Hence the addition of a QScrollArea.
>>
>> However, there is a problem now that the minimum height becomes too large. The
>> app window won't resize smaller than 638 pixels high, which is not good. I'll
>> need to fix that first.
>
> Matthias,
>
> I recommend you to create a new entry in bugzilla into
> digiKam/Usability component and attach patch at this place. it's
> better to follow in time than mailling list...
>
> I will check too your future patch with my netbook
>
> Gilles Caulier
>



More information about the Digikam-devel mailing list