[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-devel
Subject:    Re: Variables window width
From:       jbb <jbb () kdevelop ! org>
Date:       2005-06-09 7:44:40
Message-ID: 200506091944.40416.jbb () kdevelop ! org
[Download RAW message or body]

Not sure about this. Could be something from kde1/qt1 or kde2/qt2.
Is there any gui expert here that can shed light on what to do?

jbb

On Wed, 08 Jun 2005 22:30, Vladimir Prus wrote:
> Hi,
> I see the following code in variablewidget.cpp:
>
>    void VariableWidget::setEnabled(bool bEnabled)
>    {
>        QWidget::setEnabled(bEnabled);
>        if (bEnabled && parentWidget()) {
>            varTree_->setColumnWidth(0, parentWidget()->width()/2);
>        }
>    }
>
> I'm not sure what's 'parentWidget' -- probably kdeveloper's main window,
> but anyway, it's 640 pixels wide for me. However, when I click on
> "Variables" tab, the entire space allocated to variables widget is
> something like 190 pixels (according to kruler). As 320 > 190, the 'Value'
> column is not even visible, which has caused me a great confusion when I
> first tried kdevelop.
>
> Can somebody tell
> 1. What the code above tries to do?
> 2. How that initial width of window is determined?
> 3. And, finally, is the behaviour I see problem with the code, or
> misconfiguration of some kind?
>
> When I switch to using automatic column width mode for the List View, at
> least I see the vars values. OTOH, the distance between names and values is
> too low (see attached). Maybe there's some better approach?
>
> - Volodya

_______________________________________________
KDevelop-devel mailing list
KDevelop-devel@barney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic