diff options
author | Mavridis Philippe <mavridisf@gmail.com> | 2022-10-16 17:43:24 +0300 |
---|---|---|
committer | Mavridis Philippe <mavridisf@gmail.com> | 2022-10-16 17:55:38 +0300 |
commit | 735fb935f8475b771699a839b2ed5a42d7aff93b (patch) | |
tree | 153f0521b133bee1e0f1e7056c71b9ffd84129ec | |
parent | e7b9313aa2dd2e6ca6d3aad288f70e6a48549696 (diff) | |
download | twin-style-machbunt-735fb935f8475b771699a839b2ed5a42d7aff93b.tar.gz twin-style-machbunt-735fb935f8475b771699a839b2ed5a42d7aff93b.zip |
Enable button rearrangement
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
-rw-r--r-- | src/MachBunt.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/MachBunt.cpp b/src/MachBunt.cpp index 9137d02..3af9593 100644 --- a/src/MachBunt.cpp +++ b/src/MachBunt.cpp @@ -336,7 +336,7 @@ void MachBunt::doLayout() titlebar = new TQSpacerItem ( 0, titleHeight, TQSizePolicy::Expanding, TQSizePolicy::Fixed); TQBoxLayout *topLayout = new TQBoxLayout(windowLayout, TQBoxLayout::LeftToRight, 0, 0); -#if 0 +#if 1 bool first_left = true; for ( unsigned int i = 0; i <options()->titleButtonsLeft().length(); i++) { @@ -385,7 +385,7 @@ void MachBunt::doLayout() if ( !isMaximizable() ) button[BtnMax]->hide(); #endif -#if 0 +#if 1 MachBuntButton* last_right = NULL; for ( unsigned int i = 0; i <options()->titleButtonsRight().length(); i++) { |