On Sat, Nov 12, 2016 at 1:35 PM, Michail Vourlakos <mvourla...@gmail.com> wrote:
> David, thanks a lot for the quick reply... > > How will that help your use case of the dock? > You control the containment in a panel, but you're not changing Panel.qml > itself. > > Everything should be exposed to the client already as the "user setting > its value" is just the panel config, another QML file with access to the > same panelview properties as panel does. > > In terms of Panel dimensions we refer to thickness and length. > When the panel is at the top or bottom of the screen, thickness is height > and length is width. When the panel is on the left or right side, it's the > opposite. > > Thickness is self-explanatory > > Length can be confusing: > - length should be the implicit size of the contents of the panel > containment want to be. > - min/max length are the > > panelview will set the panel to length, but constrained to min/max length > and then also bound to the size of the screen. > > > > David, the Panel.qml file as I have understood it, is a layer between the > panelview (c++ code) and the client (qml) implementation. > From my dock I can not find any way to alter the the panel's thickness > (the Layout.preferredHeight which corrresponds in some > cases to thickness (horizontal) is not exposed). I need it because the > user can set the icon size and the zoomfactor for the hovering > animation, these two are used to calculate the thickness which is needed > in order to not have animations that are not shown. Currently > the user must try to set the optimal thickness manually.... > What do you mean by "the client"? Your containment? David