Not Logged In
|
Login
|
Register
Home
|
News
|
Projects
|
Releases
Bugs
|
RFE
|
Repositories
|
Help
projects
/
xestiaab
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
c54d641
)
frmContactEditorXToken: Form design cleanup
author
Steve Brokenshire
<sbrokenshire@xestia.co.uk>
Sat, 2 Sep 2017 10:56:02 +0000
(11:56 +0100)
committer
Steve Brokenshire
<sbrokenshire@xestia.co.uk>
Sat, 2 Sep 2017 10:56:02 +0000
(11:56 +0100)
source/AppXestiaAddrBk.cpp
patch
|
blob
|
history
diff --git
a/source/AppXestiaAddrBk.cpp
b/source/AppXestiaAddrBk.cpp
index
ae5004f
..
c441001
100644
(file)
--- a/
source/AppXestiaAddrBk.cpp
+++ b/
source/AppXestiaAddrBk.cpp
@@
-5173,30
+5173,30
@@
frmContactEditorXTokenADT::frmContactEditorXTokenADT( wxWindow* parent, wxWindow
nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
nbkWebsite = new wxNotebook( this, wxID_ANY, wxDefaultPosition, wxDefaultSize, 0 );
tabGeneral = new wxPanel( nbkWebsite, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
- wxFlexGridSizer*
fgSizer6
;
-
fgSizer6 = new wxFlexGridSizer( 0
, 2, 0, 0 );
-
fgSizer6
->AddGrowableCol( 1 );
-
fgSizer6->SetFlexibleDirection( wxVERTICAL
);
-
fgSizer6
->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
+ wxFlexGridSizer*
szrGeneral
;
+
szrGeneral = new wxFlexGridSizer( 2
, 2, 0, 0 );
+
szrGeneral
->AddGrowableCol( 1 );
+
szrGeneral->SetFlexibleDirection( wxBOTH
);
+
szrGeneral
->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_SPECIFIED );
lblTokenName = new wxStaticText( tabGeneral, wxID_ANY, wxT("Token Name:"), wxDefaultPosition, wxDefaultSize, 0 );
lblTokenName->Wrap( -1 );
lblTokenName = new wxStaticText( tabGeneral, wxID_ANY, wxT("Token Name:"), wxDefaultPosition, wxDefaultSize, 0 );
lblTokenName->Wrap( -1 );
-
fgSizer6
->Add( lblTokenName, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
+
szrGeneral
->Add( lblTokenName, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
txtTokenName = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
txtTokenName = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
-
fgSizer6
->Add( txtTokenName, 0, wxALL, 5 );
+
szrGeneral
->Add( txtTokenName, 0, wxALL, 5 );
lblXT = new wxStaticText( tabGeneral, wxID_ANY, wxT("Value:"), wxDefaultPosition, wxDefaultSize, 0 );
lblXT->Wrap( -1 );
lblXT = new wxStaticText( tabGeneral, wxID_ANY, wxT("Value:"), wxDefaultPosition, wxDefaultSize, 0 );
lblXT->Wrap( -1 );
-
fgSizer6
->Add( lblXT, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
+
szrGeneral
->Add( lblXT, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
txtValue = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
txtValue = new wxTextCtrl( tabGeneral, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
-
fgSizer6
->Add( txtValue, 0, wxALL|wxEXPAND, 5 );
+
szrGeneral
->Add( txtValue, 0, wxALL|wxEXPAND, 5 );
- tabGeneral->SetSizer(
fgSizer6
);
+ tabGeneral->SetSizer(
szrGeneral
);
tabGeneral->Layout();
tabGeneral->Layout();
-
fgSizer6
->Fit( tabGeneral );
+
szrGeneral
->Fit( tabGeneral );
nbkWebsite->AddPage( tabGeneral, wxT("General"), false );
bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
nbkWebsite->AddPage( tabGeneral, wxT("General"), false );
bSizer251->Add( nbkWebsite, 1, wxEXPAND | wxALL, 5 );
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software
Xestia Address Book
Xestia Calendar
Development
Xestia Gelforn
Everything else
About
News
Privacy Policy