openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #20349
[Bug 1164925] Re: Separate blank buttons don't hide on resizing
Trunk doesnt work:
# The + 40 is needed to prevent flickering. This can be considered a "buffer".
if width > used_space + 40 and self.hide_menu.isVisible():
self.toolbar.set_widget_visible(self.narrow_menu, False)
self.toolbar.set_widget_visible(self.wide_menu)
# The - 40 is needed to prevent flickering. This can be considered a "buffer".
elif width < used_space - 40 and not self.hide_menu.isVisible():
self.toolbar.set_widget_visible(self.wide_menu, False)
self.toolbar.set_widget_visible(self.narrow_menu)
This works fine on W7:
# The + 27!!!!!! is needed to prevent flickering. This can be considered a "buffer".
if width > used_space + 27 and self.hide_menu.isVisible():
self.toolbar.set_widget_visible(self.narrow_menu, False)
self.toolbar.set_widget_visible(self.wide_menu)
# The - 27!!!!! is needed to prevent flickering. This can be considered a "buffer".
elif width < used_space - 27 and not self.hide_menu.isVisible():
self.toolbar.set_widget_visible(self.wide_menu, False)
self.toolbar.set_widget_visible(self.narrow_menu)
--
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1164925
Title:
Separate blank buttons don't hide on resizing
Status in OpenLP - Worship Presentation Software:
In Progress
Status in OpenLP trunk series:
In Progress
Bug description:
What was fixed in https://bugs.launchpad.net/openlp/+bug/718797
doesnt works anymore.
Win 07
trunk r2227
If controller size was small on the start of app - shows narrow menu. then make controller wider - shows wide menu.
Trying to make controller narrower - nothing happend. still wide menu.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1164925/+subscriptions
References