Stack Child With No Title Or Icon Causes Broken Layout
What problem did you encounter?
In what part of libhandy did you experience the problem? Note that multiple boxes may be checked.
- build system
- example application
- somewhere else (please elaborate)
What is the actual behaviour?
HdyViewSwitcher seems to account for the existence of the hidden stack child, and sizes itself oddly. When applying an icon or name to the stack child, a fourth button appears and HdyViewSwitcher behaves as expected.
What is the expected behaviour?
HdyViewSwitcher sizes according to the buttons that actually show
How to reproduce?
Create a GtkStack with a HdyViewSwitcher connected to it. For one of the children, do not set an icon or a name.
Which version did you encounter the bug in?
I compiled it myself. If you compiled libhandy from source please provide the
git revision via e.g. by running
git log -1 --pretty=onelineand pasting the output below.
What hardware are you running libhandy on?
- Dell XPS 13 9370