Enable button rearrangement

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
pull/3/head
Mavridis Philippe 2 years ago
parent e7b9313aa2
commit 735fb935f8
No known key found for this signature in database
GPG Key ID: F8D2D7E2F989A494

@ -336,7 +336,7 @@ void MachBunt::doLayout()
titlebar = new TQSpacerItem ( 0, titleHeight, TQSizePolicy::Expanding, titlebar = new TQSpacerItem ( 0, titleHeight, TQSizePolicy::Expanding,
TQSizePolicy::Fixed); TQSizePolicy::Fixed);
TQBoxLayout *topLayout = new TQBoxLayout(windowLayout, TQBoxLayout::LeftToRight, 0, 0); TQBoxLayout *topLayout = new TQBoxLayout(windowLayout, TQBoxLayout::LeftToRight, 0, 0);
#if 0 #if 1
bool first_left = true; bool first_left = true;
for ( unsigned int i = 0; i <options()->titleButtonsLeft().length(); i++) for ( unsigned int i = 0; i <options()->titleButtonsLeft().length(); i++)
{ {
@ -385,7 +385,7 @@ void MachBunt::doLayout()
if ( !isMaximizable() ) if ( !isMaximizable() )
button[BtnMax]->hide(); button[BtnMax]->hide();
#endif #endif
#if 0 #if 1
MachBuntButton* last_right = NULL; MachBuntButton* last_right = NULL;
for ( unsigned int i = 0; i <options()->titleButtonsRight().length(); i++) for ( unsigned int i = 0; i <options()->titleButtonsRight().length(); i++)
{ {

Loading…
Cancel
Save