[haiku-commits] haiku: hrev45654 - src/apps/debugger/user_interface/gui/team_window

  • From: superstippi@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 10 May 2013 10:10:57 +0200 (CEST)

hrev45654 adds 2 changesets to branch 'master'
old head: abb7ea65120d761dc4dedc37b6c79eff80f8b649
new head: 754fcddd724cefcc1b30c0cac40e8e461ca59f53
overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=754fcdd+%5Eabb7ea6

----------------------------------------------------------------------------

9f5437a: Changed hierarchy of splits to give variables/registers more room

754fcdd: Remove the spacing between menu bar and contents
  
   * The spacing is already present due to the insets
     of the contents, so there was some extra room
     between the menu and the contents which this
     commit removes.

                                      [ Stephan Aßmus <superstippi@xxxxxx> ]

----------------------------------------------------------------------------

1 file changed, 15 insertions(+), 15 deletions(-)
.../gui/team_window/TeamWindow.cpp               | 30 ++++++++++----------

############################################################################

Commit:      9f5437a40bd3b3fcbccfd619e0d8c4257d237445
URL:         http://cgit.haiku-os.org/haiku/commit/?id=9f5437a
Author:      Stephan Aßmus <superstippi@xxxxxx>
Date:        Fri May 10 07:57:43 2013 UTC

Changed hierarchy of splits to give variables/registers more room

----------------------------------------------------------------------------

diff --git a/src/apps/debugger/user_interface/gui/team_window/TeamWindow.cpp 
b/src/apps/debugger/user_interface/gui/team_window/TeamWindow.cpp
index cbb6e71..079df7b 100644
--- a/src/apps/debugger/user_interface/gui/team_window/TeamWindow.cpp
+++ b/src/apps/debugger/user_interface/gui/team_window/TeamWindow.cpp
@@ -766,23 +766,23 @@ TeamWindow::_Init()
                        .GetSplitView(&fFunctionSplitView)
                        .SetInsets(B_USE_SMALL_INSETS)
                        .Add(fTabView = new BTabView("tab view"), 0.4f)
-                       .AddGroup(B_VERTICAL, B_USE_SMALL_SPACING)
-                               .AddGroup(B_HORIZONTAL, B_USE_SMALL_SPACING)
-                                       .Add(fRunButton = new BButton("Run"))
-                                       .Add(fStepOverButton = new 
BButton("Step Over"))
-                                       .Add(fStepIntoButton = new 
BButton("Step Into"))
-                                       .Add(fStepOutButton = new BButton("Step 
Out"))
-                                       .AddGlue()
-                               .End()
-                               .Add(fSourcePathView = new BStringView(
-                                       "source path",
-                                       "Source path unavailable."), 4.0f)
-                               .AddSplit(B_HORIZONTAL, 3.0f)
-                                       .GetSplitView(&fSourceSplitView)
+                       .AddSplit(B_HORIZONTAL, 3.0f)
+                               .GetSplitView(&fSourceSplitView)
+                               .AddGroup(B_VERTICAL, B_USE_SMALL_SPACING)
+                                       .AddGroup(B_HORIZONTAL, 
B_USE_SMALL_SPACING)
+                                               .Add(fRunButton = new 
BButton("Run"))
+                                               .Add(fStepOverButton = new 
BButton("Step Over"))
+                                               .Add(fStepIntoButton = new 
BButton("Step Into"))
+                                               .Add(fStepOutButton = new 
BButton("Step Out"))
+                                               .AddGlue()
+                                       .End()
+                                       .Add(fSourcePathView = new BStringView(
+                                               "source path",
+                                               "Source path unavailable."), 
4.0f)
                                        .Add(sourceScrollView = new 
BScrollView("source scroll",
                                                NULL, 0, true, true), 3.0f)
-                                       .Add(fLocalsTabView = new 
BTabView("locals view"))
                                .End()
+                               .Add(fLocalsTabView = new BTabView("locals 
view"))
                        .End()
                .End();
 

############################################################################

Revision:    hrev45654
Commit:      754fcddd724cefcc1b30c0cac40e8e461ca59f53
URL:         http://cgit.haiku-os.org/haiku/commit/?id=754fcdd
Author:      Stephan Aßmus <superstippi@xxxxxx>
Date:        Fri May 10 08:09:52 2013 UTC

Remove the spacing between menu bar and contents

 * The spacing is already present due to the insets
   of the contents, so there was some extra room
   between the menu and the contents which this
   commit removes.

----------------------------------------------------------------------------

diff --git a/src/apps/debugger/user_interface/gui/team_window/TeamWindow.cpp 
b/src/apps/debugger/user_interface/gui/team_window/TeamWindow.cpp
index 079df7b..9edb13f 100644
--- a/src/apps/debugger/user_interface/gui/team_window/TeamWindow.cpp
+++ b/src/apps/debugger/user_interface/gui/team_window/TeamWindow.cpp
@@ -760,7 +760,7 @@ TeamWindow::_Init()
 {
        BScrollView* sourceScrollView;
 
-       BLayoutBuilder::Group<>(this, B_VERTICAL)
+       BLayoutBuilder::Group<>(this, B_VERTICAL, 0.0f)
                .Add(fMenuBar = new BMenuBar("Menu"))
                .AddSplit(B_VERTICAL, 3.0f)
                        .GetSplitView(&fFunctionSplitView)


Other related posts:

  • » [haiku-commits] haiku: hrev45654 - src/apps/debugger/user_interface/gui/team_window - superstippi