This Trac instance is not used for development anymore!

We migrated our development workflow to git and Gitea.
To test the future redirection, replace trac by ariadne in the page URL.

Changeset 10133 for ps


Ignore:
Timestamp:
08/30/11 00:12:20 (13 years ago)
Author:
ben
Message:

Adjusts Atlas sidebar and bottombar to look better on different platforms.

Location:
ps/trunk/source/tools/atlas/AtlasUI/ScenarioEditor
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ps/trunk/source/tools/atlas/AtlasUI/ScenarioEditor/SectionLayout.cpp

    r10037 r10133  
    300300    #undef ADD_SIDEBAR
    301301
    302     m_VertSplitter->SetDefaultSashPosition(-165);
     302    m_VertSplitter->SetDefaultSashPosition(-BOTTOMBAR_SIZE);
    303303    m_VertSplitter->Initialize(m_Canvas);
    304304
    305     m_HorizSplitter->SetDefaultSashPosition(200);
     305    m_HorizSplitter->SetDefaultSashPosition(SIDEBAR_SIZE);
    306306    m_HorizSplitter->SplitVertically(m_SidebarBook, m_VertSplitter);
    307307}
  • ps/trunk/source/tools/atlas/AtlasUI/ScenarioEditor/SectionLayout.h

    r9566 r10133  
    1 /* Copyright (C) 2009 Wildfire Games.
     1/* Copyright (C) 2011 Wildfire Games.
    22 * This file is part of 0 A.D.
    33 *
     
    2121#include <map>
    2222#include <string>
     23
     24// Some platform dependent sizes
     25#if defined(__WXGTK__)
     26    #define SIDEBAR_SIZE 250
     27    #define BOTTOMBAR_SIZE 200
     28#elif defined(__WXOSX__) || defined(__WXMAC__)
     29    #define SIDEBAR_SIZE 250
     30    #define BOTTOMBAR_SIZE 210
     31#else   // __MSW__
     32    #define SIDEBAR_SIZE 200
     33    #define BOTTOMBAR_SIZE 180
     34#endif
    2335
    2436class ScenarioEditor;
Note: See TracChangeset for help on using the changeset viewer.