I have a NSTabView with dynamically created tabs. Each tab contains a webview (created when tab is added). It works fine, but if a webview display a flash website, if you go to another tab, then back to flash one, flash page is upside-down (bottom of page is on top, completely mirrored).
Any idea about what happens and how to repair it ?
I finally solved the problem by removing the NSTabView. I show and hide webviews when needed, and it works fine.
Related
I have a simple XF UWP app with a couple pages. I've found that if I resize the window, the active page resizes its elements fine, but the inactive page doesn't. The inactive page retains the same layout as before the window resize.
Steps to reproduce:
Navigate from page 1 to page 2.
Resize the window.
Go back to page 1. It retains the prior layout.
Resize the window again, then page 1 finally adjust its elements size and layout.
I have tried execuing ForceLayout() and UpdateChildrenLayout(), but the problem remains.
What can I do to avoid this?
I'm making app with using Xamarin.forms PCL.
I'm using Appcompat toolbar and tabs for Android.
It looks great but the problem is,
When I move to Fourth tab page from first one, It reloads every tabs while it's moving!! (2th, 3rd tab)
It causes big frame skip.
How can make it to slide to fourth tab without showing middle tabs?
I looked Youtube app, it does not seem to show middle tabs while it's moving.
That's native behaviour, it will pre-render nearby tabs; so for your instance, in Tab1, it renders Tab2, and when you go Tab 4, it also renders Tab3.
Similar questions are answered here
Fragment in TabLayout only load when user slide Android
Stop Android TabLayout loading next page automatically
I seems to be unable to view images in Xcode. I am not talking about when running an app, nor do I mean UIImageViews (that works) or other views with images set (also works) in Interface Builder, I am simply talking about viewing images by clicking on them in the project navigator (in the left pane) and expecting them to show up on the middle/right (just like when editing code).
Has anyone had this problem as well?
The problem is fullscreen mode. If you exit the fullscreen the images is previewed as expected.
Check this menu and be sure you select Preview :
I'm developing for Windows 8 (WInRT) and have problem with settings charm. Settings popup is based on Microsoft SDK settings charm. Settings panel is Popup. Content is wrapped by ScrollViewer -> Grid -> StackPanel. In StackPanel I have input fields. when I trying to fill last of them on screen keyboard overlaying it and I cant see field and cant scroll to it. Is there any way to see it and to scroll to it automatically?
Seems like the popups on Windows 8 suffer from the same problem as they did on Windows Phone in that when you put a TextBox on one of them - it does not get pushed up together with all the other content as it does when it is not in a popup.
My solution to that would be to not use popup for input fields and instead go for a layout that you can manage yourself.
By default the app has a Frame control at its visual root. You can modify it for example by putting your own UserControl in there (I usually call it AppShell) which has the Frame used by all pages, you can have a layer for popups, log in screens, the extended splash screen etc.
To solve your problem you would need to put your charm's UI inside of such layer instead of in a popup. Then the build-in mechanism that pushes all the UI up when the on-screen keyboard would otherwise obstruct the view of your TextBox should just start working again.
*EDIT
A simpler solution might be to make sure your settings panel popup is parented in your visual tree - e.g. by adding it as a child element to a root grid of your app or page. It turns out that in that case its content does get pushed up when the OSK shows up.
Take a look at this post
It's a popup wrapper (turns user controls into popups) that takes care of the keyboard appearing and adjusts the size of the popup (and thus the user control) accordingly.
I have an Enyo webOS application I am developing for phones. There are several text inputs on the main page, with a button underneath them--however, the button is not viewable below the textboxes. However, there appears to be a scroll lock by default on the main scene--so I cannot scroll down and see the rest of the content.
How can I enable my app to allow for scrolling within a VFlexBox view?
Thanks!
Ah, I found it--I need to change from enyo.VFlexBox to enyo.Scroller for the view. Works fine!