About   |   Getting Started   |   Downloads   |   Documentation   |   Forum


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
blank panels when no doc open
04-17-2017, 05:56 PM
Post: #1
blank panels when no doc open
I noticed that Adobe's panels go blank when there's no document open. I'd like to do the same. Perhaps this should be a feature request for the panel class, but in the meantime I would guess a function to simply switch the visibility of the panel's widgets true or false is the best approach. Is there a simpler way I've overlooked? Thanks...
Find all posts by this user
Quote this message in a reply
05-01-2017, 03:39 PM
Post: #2
RE: blank panels when no doc open
There is no automated way to achieve this and we won't be adding one, but you can do it manually by subscribing to the right document notifiers and hide/show the widgets when appropriate.

We have the WidgetGroup class to make it more convenient to apply the same modifications to a number of widgets all at once, but visibility is not currently supported by that class. I'll add it to the TODO list.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)