How to disable maximize button

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
shalu
Posts: 72
Joined: Fri Mar 20, 2015 1:05 pm

How to disable maximize button

Post by shalu » Thu Jul 02, 2015 12:34 pm

Hi,

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

zaxos
Posts: 222
Joined: Thu May 23, 2013 11:15 pm

Re: How to disable maximize button

Post by zaxos » Thu Jul 02, 2015 12:38 pm

maximize of a stack ? If thats the case then:
set the decorations of stack "myStack" to "close"
Knowledge is meant to be shared.

shalu
Posts: 72
Joined: Fri Mar 20, 2015 1:05 pm

Re: How to disable maximize button

Post by shalu » Fri Jul 03, 2015 12:08 pm

The maximize button is still there :oops: :cry: :roll:
--
Thanks
Shalu S

wsamples
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 264
Joined: Mon May 18, 2009 4:12 am

Re: How to disable maximize button

Post by wsamples » Fri Jul 03, 2015 3:49 pm

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.

zaxos
Posts: 222
Joined: Thu May 23, 2013 11:15 pm

Re: How to disable maximize button

Post by zaxos » Fri Jul 03, 2015 10:47 pm

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.
Knowledge is meant to be shared.

Post Reply