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

  • From: anevilyak@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 8 May 2013 04:59:50 +0200 (CEST)

hrev45642 adds 1 changeset to branch 'master'
old head: 6ba46ced853e1a8ee1bc271eebf0e1e58100bb4e
new head: df720531e35c3f78df963af874ddf11970deaebe
overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=df72053+%5E6ba46ce

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

df72053: Use B_USE_SMALL_{SPACING,INSETS} as suggested by Axel.

                                      [ Rene Gollent <anevilyak@xxxxxxxxx> ]

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

Revision:    hrev45642
Commit:      df720531e35c3f78df963af874ddf11970deaebe
URL:         http://cgit.haiku-os.org/haiku/commit/?id=df72053
Author:      Rene Gollent <anevilyak@xxxxxxxxx>
Date:        Wed May  8 02:59:00 2013 UTC

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

1 file changed, 6 insertions(+), 5 deletions(-)
.../user_interface/gui/team_window/TeamWindow.cpp         | 11 ++++++-----

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

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 2c8ddf6..a23c821 100644
--- a/src/apps/debugger/user_interface/gui/team_window/TeamWindow.cpp
+++ b/src/apps/debugger/user_interface/gui/team_window/TeamWindow.cpp
@@ -764,10 +764,10 @@ TeamWindow::_Init()
                .Add(fMenuBar = new BMenuBar("Menu"))
                .AddSplit(B_VERTICAL, 3.0f)
                        .GetSplitView(&fFunctionSplitView)
-                       .SetInsets(4.0f, 4.0f, 4.0f, 4.0f)
+                       .SetInsets(B_USE_SMALL_INSETS)
                        .Add(fTabView = new BTabView("tab view"), 0.4f)
-                       .AddGroup(B_VERTICAL, 4.0f)
-                               .AddGroup(B_HORIZONTAL, 4.0f)
+                       .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"))
@@ -808,11 +808,12 @@ TeamWindow::_Init()
                .Add(fImageFunctionsView = ImageFunctionsView::Create(this));
 
        // add breakpoints tab
-       BGroupView* breakpointsGroup = new BGroupView(B_HORIZONTAL, 4.0f);
+       BGroupView* breakpointsGroup = new BGroupView(B_HORIZONTAL,
+               B_USE_SMALL_SPACING);
        breakpointsGroup->SetName("Breakpoints");
        fTabView->AddTab(breakpointsGroup);
        BLayoutBuilder::Group<>(breakpointsGroup)
-               .SetInsets(4.0f, 4.0f, 4.0f, 4.0f)
+               .SetInsets(B_USE_SMALL_INSETS)
                .Add(fBreakpointsView = BreakpointsView::Create(fTeam, this));
 
        // add local variables tab


Other related posts:

  • » [haiku-commits] haiku: hrev45642 - src/apps/debugger/user_interface/gui/team_window - anevilyak