If you want a fixed size widget, set the size policy for that widget to fixed.

On Jan 21, 2010, at 11:11 AM, Ken Ray wrote:

> I tried qt-interest and not much of a response. Note that this test app I'm 
> trying to build is just like the fontsampler demo that comes with creator/QT. 
>  I'm trying to duplicate the dockwidget on the left. How did fontsampler get 
> around this problem ?   It seems to me that if Creator can't hold a layout 
> for more than a few clicks there is a serious flaw. It makes working with all 
> the contents related to that dockwidget a pain in the ass.  
> 
> I'm going to go play with Mono now to see how there stuff is . 
> 
> I want some cross platform development that is stable. but if none is stable 
> , then I guess it's back to VS .net .. 
> 
> 
> On Jan 20, 2010, at 2:44 PM, Thomas Dähling wrote:
> 
>> Hi Ken,
>> 
>> so if this also happens in the external designer, then you might want
>> to switch this discussion over to qt-interest if you consider this to
>> be a Qt defect :-)
>> 
>> /Thomas
>> 
>> 2010/1/20 Ken Ray <[email protected]>:
>>> Not true. I just tried it in the external Designer. I changed the size of 
>>> the dockWidget to 250. Then simply clicked on another widget.. a textEdit. 
>>> The dockWidget immediately resized itself automatically.
>>> 
>>> On Jan 20, 2010, at 1:51 PM, Coda Highland wrote:
>>> 
>>>> That's Designer, which happens to be embedded in Creator. The only way
>>>> this is directly Creator-related is if it doesn't happen when using
>>>> the external Designer.
>>>> 
>>>> /s/ Adam
>>>> 
>>>> On Wed, Jan 20, 2010 at 3:28 PM, Ken Ray <[email protected]> wrote:
>>>>> This is directly related to Creator. I'm building the layout of the form 
>>>>> using Creator, and Creator is not saving my changes.
>>>>> On Jan 20, 2010, at 1:12 PM, Coda Highland wrote:
>>>>> 
>>>>>> This question should be directed toward the qt-interest mailing list.
>>>>>> The qt-creator ML is specifically for discussion about the Qt Creator
>>>>>> IDE, not for programs you're writing using it.
>>>>>> 
>>>>>> /s/ Adam
>>>>>> 
>>>>>> On Wed, Jan 20, 2010 at 2:58 PM, Ken Ray <[email protected]> wrote:
>>>>>>> 
>>>>>>> Hey, I'm getting started with QT, so bear with me. I've been trying to 
>>>>>>> work with a Dockwidget that has a treewidget inside of it.
>>>>>>> 
>>>>>>> 1) I did a layout vertical layout on the dockWidgetContents and it 
>>>>>>> caused the contained treeview to shrink in size (large borders), is 
>>>>>>> there a way to avoid that behavior ?
>>>>>>> 
>>>>>>> 2) I changed the size of the dockWidget to a certain width, with policy 
>>>>>>> being preferred, preferred.  This is all done in Creator 1.3.1 .  I 
>>>>>>> then opened a source file and then went bak to the ui view. The 
>>>>>>> dockWidget had reset it's size back to it's original size. There 
>>>>>>> doesn't seem to be anything I can do to keep it from auto resizing 
>>>>>>> itself. Is this a bug ?  Is there a way to fix this problem ?
>>>>>>> 
>>>>>>> 
>>>>>>> _______________________________________________
>>>>>>> Qt-creator mailing list
>>>>>>> [email protected]
>>>>>>> http://lists.trolltech.com/mailman/listinfo/qt-creator
>>>>>>> 
>>>>>> 
>>>>>> _______________________________________________
>>>>>> Qt-creator mailing list
>>>>>> [email protected]
>>>>>> http://lists.trolltech.com/mailman/listinfo/qt-creator
>>>>> 
>>>>> 
>>>>> _______________________________________________
>>>>> Qt-creator mailing list
>>>>> [email protected]
>>>>> http://lists.trolltech.com/mailman/listinfo/qt-creator
>>>>> 
>>>> 
>>>> _______________________________________________
>>>> Qt-creator mailing list
>>>> [email protected]
>>>> http://lists.trolltech.com/mailman/listinfo/qt-creator
>>> 
>>> 
>>> _______________________________________________
>>> Qt-creator mailing list
>>> [email protected]
>>> http://lists.trolltech.com/mailman/listinfo/qt-creator
>>> 
>> 
>> _______________________________________________
>> Qt-creator mailing list
>> [email protected]
>> http://lists.trolltech.com/mailman/listinfo/qt-creator
> 
> 
> _______________________________________________
> Qt-creator mailing list
> [email protected]
> http://lists.trolltech.com/mailman/listinfo/qt-creator


_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to