octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Workspace dialog on MacOS X


From: Daniel J Sebald
Subject: Re: Workspace dialog on MacOS X
Date: Tue, 11 Jun 2013 01:14:08 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16

On 06/10/2013 03:33 AM, Ben Abbott wrote:
On Jun 10, 2013, at 01:12 AM, Torsten <address@hidden> wrote:

On 10.06.2013 06:15, Abbott, Ben wrote:
> On Jun 10, 2013, at 12:01 PM, Abbott, Ben wrote:
>
>> On Jun 10, 2013, at 11:16 AM, Daniel J Sebald wrote:
>>
>>> On 06/09/2013 10:05 PM, Daniel J Sebald wrote:
>>>
>>>> On 06/09/2013 08:36 PM, Abbott, Ben wrote:
>>>
>>>>> I assume the spacing between
>>>>> columns is coded in c++, and will need to be adjusted there. Iv'e
>>>>> attached a diff for what I changed.
>>>
>>> Oh, I see what you meant, the C++ code routine
>>>
>>> settings_dialog::read_workspace_colors (QSettings *settings)
>>>
>>> Yeah, things could be tweaked there by controlling the stretch
between columns of the QGridLayout and so on. But things look pretty
good now. Why is the right edge being cut off of your settings
dialogs? In the Workspace image the right color boxes have a missing
edge. In the Editor Styles image you sent earlier the word
> "textcolor" is cut off.
>>>
>>> Dan
>>
>> I recreated the Workspace tab. Neither the QTabWidget, QVBoxLayout,
or the QGroupBox (workspace_colors_box) extend beyond the window.
However, the red line indicating the right edge of the QVBoxLayout
appears to be one pixel to the right of the viewable area. Can you are
Torsten tweak the c++ code to shrink the column width?
>>
>> Regarding the Editor Styles image, I hadn't noticed the "textcolor"
being cut off. I'll take a look at that.
>
> Looking at the Editor Settings tab in Qt Designer, the QVBoxLayout is
> much wider than the dialog. That is easily fixed. A changeset is
> attached. I'll wait on confirmation before pushing.
>
> Ben
>
>

I don't have the time to have a closer look at the patches but they seem
to look okay. Please go ahead an push them, thanks.

Torsten

I've also pushed a changeset to prevent the color widget from extending
beyond the right edge of the dialog.


http://hg.savannah.gnu.org/hgweb/octave/rev/f71998dda3da

All these changes don't change much on my system. Looks good. Some things to consider:

1) The line at the top of the Workspace tab isn't consistent with the layout for, say, the Editor tab where there is no line. That line is "Line 7" in the Qt Creator and could be deleted easily.

2) The "Terminal Colors" under Terminal tab has a bit too much spacing. Maybe we should make the layout match that for "Storage Class Colors" by using a 2 x 3 grid with the right most column having blank filler.

Dan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]