For my app I'm using a NavigationView to offer a second layer of configuration dialogs. It's configured using the built-in UI editor. The pyui is available here. There are three issues:
-
The button labels of the navigation are centered but the axis is shifted to the right. This effect is not visible in the GUI editor but only when the view is actually displayed. See the following screen shots. The first one shows the view in the GUI editor, the second one shows the view as presented by the
presentmethod, the third one shows the view as child of another larger view. Note the in the latter two cases the labels are centered around an axis which is shifted right from the horizontal center of the view. -
The second issue is regarding the manner in which the subviews of the NavigationView are shown in the parent view. Although the parent view has a default title row, the subviews are located as though the title row were not active. Hence, the top subviews are overlayed by the title row. Since the rendering of the view in the app is actually correct this is only a little disturbing but not essential. On the other hand it's interesting to me to know if I'm making a systematic mistake by using NavigationViews in such a way.
-
The third issue also relates to the title row. As can be seen in this screenshot, using the
presentmethod to show the view results in two title rows: the top one containing the view name and a close button and the second one showing the active view of the navigation hierarchy. Actually, I would like to have the lower one only, but if I deactivate the upper one using a parameter of thepresentmethod, I'm lacking the close button. As far as I can tell it is not possible either to add aButtonItemto the left button items of the NavigationView. It is silently ignored. Is there better way to use the NavigationView as a top level view?
Thanks a lot for your help!