xaml - Getting rid of strange margin above pivot in WP8.1 -
i have frustrating problem. have wp8.1 app (winrt - universal) in use pivot control , above have search button (screen here: http://oi67.tinypic.com/2r5s13d.jpg ). search button in grid.column 0 , pivot in grid.column 1, have strange margin (marked on screen) can't rid of , covers search button (only half of active). grid.column 1 , pivot should start on line closer word "test" , theoretically is, second line (higher one) shouldn't there, it's there, it's empty it's prohibit search button tapped. in header template have following code:
<pivot.headertemplate> <datatemplate> <grid> <textblock text="{binding}" fontsize="20" margin="0,3,0,0" fontweight="normal"/> </grid> </datatemplate> </pivot.headertemplate>
can me?
try add margin inside pivot control etc. margin="0,-20,0,0" , add pivot control behind search button can tap this.
Comments
Post a Comment