question about panel size guideline

Reza Shah rshah0385 at kireihana.com
Tue Jan 10 10:30:44 UTC 2012


On Sat, Dec 31, 2011 at 5:57 PM, Aaron J. Seigo <aseigo at kde.org> wrote:
> On Tuesday, December 27, 2011 21:16:19 Reza Shah wrote:
>> so, do we have some guideline regarding the panel for example:
>> - minimum size or maximum size
>
> max size is currently 1/3rd of the screen
> min size is currently 16px.
Is the the value in
kde-workspace/plasma/desktop/shell/panelcontroller.cpp:static const
int MINIMUM_HEIGHT = 10; ?
Can it be replaced with KIconLoader::SizeSmall plus some margin (1 or 2)?

>> - behavior of each component put inside panel when panel grow or shrink
>
> they must shrink down to an appropriate size (this can include hiding/showing
> parts of the UI) and/or or become a popup when there is not enough room.
>
There is possibility that the widget cannot display meaningful content
below it's minimum preferred size.
For this case, is there a way for the widget to ask the panel
container to stop shrink further?


Thanks,


More information about the Plasma-devel mailing list