Home » U++ Library support » U++ Library : Other (not classified elsewhere) » Setting right align in ArrayCtrl does not work
Setting right align in ArrayCtrl does not work [message #52093] |
Thu, 18 July 2019 09:45 |
aftershock
Messages: 143 Registered: May 2008
|
Experienced Member |
|
|
Any idea why?
void set_tradelist_oolumns ( ArrayCtrl & ac )
{
ac.AddColumn ( "Ticket", t_ ( "Ticket" ) ).Sorting();
ac.AddColumn ( t_ ( "Time" ) ).Sorting();
ac.AddColumn ( t_ ( "Symbol" ) ).Sorting();
ac.AddColumn ( t_ ( "Type" ) ).Sorting().SetConvert ( Single<MyOrderTypeConvert>() );
ac.AddColumn ( t_ ( "Size" ) ).Sorting().HeaderTab().AlignRight();
ac.AddColumn ( t_ ( "Price" ) ).Sorting().HeaderTab().AlignRight();
ac.AddColumn ( t_ ( "Swap" ) ).Sorting().HeaderTab().AlignRight();
ac.AddColumn ( t_ ( "Profit" ) ).Sorting().HeaderTab().AlignRight();
// ac.AddColumn ( t_ ( "Equity" ) ).Sorting();
ac.AddColumn ( t_ ( "Balance" ) ).Sorting().HeaderTab().AlignRight();
// ac.AddColumn ( t_ ( "Max drawdown" ) ).Sorting();
// ac.AddColumn ( t_ ( "Date of max drawdown" ) ).Sorting();
ac.ColumnWidths ( "1 4 3 2 2 2 2 2 2" );
}
|
|
|
|
|
Goto Forum:
Current Time: Fri Dec 13 22:35:09 CET 2024
Total time taken to generate the page: 0.03197 seconds
|