Page 1 of 1

How to disable maximize button

Posted: Thu Jul 02, 2015 12:34 pm
by shalu
Hi,

How to disable maximize button, I change all settings but it's not working, I am using linux OS

Re: How to disable maximize button

Posted: Thu Jul 02, 2015 12:38 pm
by zaxos
maximize of a stack ? If thats the case then:
set the decorations of stack "myStack" to "close"

Re: How to disable maximize button

Posted: Fri Jul 03, 2015 12:08 pm
by shalu
The maximize button is still there :oops: :cry: :roll:

Re: How to disable maximize button

Posted: Fri Jul 03, 2015 3:49 pm
by wsamples
I have never been able to get LiveCode's decoration options to completely override Linux desktop settings. Currently, using KDE Plasma 5, I can't remove either the minimize or the maximize buttons on a normal stack window. I can remove the close button, though. This all may depend on what kind of a stack window you're working with (normal, palette, modal, etc.). For instance in the LiveCode IDE the main toolbar shows for me the minimize and close buttons, but not maximize and the inspector palette shows the maximize and close buttons but no minimize. Some plugins show palettes that also have only the minimize and close buttons.

Re: How to disable maximize button

Posted: Fri Jul 03, 2015 10:47 pm
by zaxos
lazy me as allways dident see this is for linux, you can do this:

Code: Select all

get shell("gsettings set org.gnome.desktop.wm.preferences button-layout ':close'")
altho i think this changes the layout for all the windows rather than just a specific.