Work on the graphical interface requirements tree
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#include "requirementDetailPanel.h"
|
||||
|
||||
#include "resources/resources.h"
|
||||
|
||||
#include <wx/statline.h>
|
||||
|
||||
using namespace std;
|
||||
@@ -24,9 +26,9 @@ void RequirementDetailPanel::createControls()
|
||||
const auto mainPanel = new wxScrolledWindow(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxVSCROLL);
|
||||
mainPanel->SetScrollRate(0, 10); // Set the scroll rate for the panel (vertical only)
|
||||
|
||||
const auto closeButton = new wxButton(this, wxID_ANY, _("Close"));
|
||||
const auto saveButton = new wxButton(this, wxID_ANY, _("Save"));
|
||||
const auto discardButton = new wxButton(this, wxID_ANY, _("Discard"));
|
||||
const auto closeButton = new wxBitmapButton(this, wxID_ANY, icon_xmark_24x24(), wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW | wxBORDER_NONE);
|
||||
const auto saveButton = new wxBitmapButton(this, wxID_ANY, icon_floppy_disk_24x24(), wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW | wxBORDER_NONE);
|
||||
const auto discardButton = new wxBitmapButton(this, wxID_ANY, icon_rotate_left_24x24(), wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW | wxBORDER_NONE);
|
||||
|
||||
// Controls positioning
|
||||
const auto ctrlSizer = new wxBoxSizer(wxVERTICAL);
|
||||
|
||||
Reference in New Issue
Block a user