Re: Expanding PlasmaCore.Dialog in Qml

2011-05-26 Thread Onur-Hayri Bakici
> On Thursday 26 May 2011, Onur-Hayri Bakici wrote: > > > the dialog is a top level widget/window (it's used to have standalone > > > windows), and is not influenced by its parent widget. > > > instead, you put an Item inside the dialog and to control the size you > > > either set the one of the d

Re: Expanding PlasmaCore.Dialog in Qml

2011-05-26 Thread Marco Martin
On Thursday 26 May 2011, Onur-Hayri Bakici wrote: > > the dialog is a top level widget/window (it's used to have standalone > > windows), and is not influenced by its parent widget. > > instead, you put an Item inside the dialog and to control the size you > > either set the one of the dialog or i

Re: Expanding PlasmaCore.Dialog in Qml

2011-05-26 Thread Onur-Hayri Bakici
> On Monday 23 May 2011, Onur-Hayri Bakici wrote: > > Hey, > > > > When i use PlasmaCore.Dialog inside an Item with a fix height and width > > Item { > > > > id: dialogItem > > height: 200 > > width: 200 > > > > PlasmaCore.Dialog { > > > > // some stuff > > > > } > > > >

Re: Expanding PlasmaCore.Dialog in Qml

2011-05-23 Thread Marco Martin
On Monday 23 May 2011, Onur-Hayri Bakici wrote: > Hey, > > When i use PlasmaCore.Dialog inside an Item with a fix height and width > Item { > id: dialogItem > height: 200 > width: 200 > > PlasmaCore.Dialog { > // some stuff > } > > onEvent: { > dialogItem.height += 32 > } >

Expanding PlasmaCore.Dialog in Qml

2011-05-23 Thread Onur-Hayri Bakici
Hey, When i use PlasmaCore.Dialog inside an Item with a fix height and width Item { id: dialogItem height: 200 width: 200 PlasmaCore.Dialog { // some stuff } onEvent: { dialogItem.height += 32 } } and try to change the height and width of the item(since dialog has no hei