Are you clearing out the BackgroundView property? Set to to new
UIView(new Rectangle(0,0,0,0)) or something like that.

On Thu, May 31, 2012 at 10:08 PM, Guido Van Hoecke <[email protected]> wrote:
> Hi,
>
> Contrary to the plain tableview on iPhone, the iPad shows a left and
> right border, even for plain views.
>
> Can I somehow force it not to use borders and use the full view width?
>
> If that is not possible, can I retrieve the width of these borders
> somewhere?
>
> A little backgound:
>
> I have a MTD RootElement (plain style) with OwnerDrawnElements that really
> show a varying number of columns. The rootelement only has one section, and I
> generate a label view with the column names as section caption.
>
> On the iPhone this view as well as the table cells have the same width,
> so no prob to position the column names exactly above the columns.
>
> But on the iPad, the cells do not use the full width of the tableview, so
> my computation goes wrong and the column names appear out of alignemnt...
>
> Any ideas or suggestions?
>
> (I'd prefer the solution where there would be no borders, but any
> suggestion is welcome)
>
> Thanks in advance,
>
>
> Guido
>
> --
> Lots of folks confuse bad management with destiny.
>                -- Frank Hubbard
>
> http://vanhoecke.org ... and go2 places!
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch



-- 
Nic Wise
t.  +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise
b. http://www.fastchicken.co.nz/

Earnest: Self-employed? Track your business expenses and income.
http://earnestapp.com
Nearest Bus: find when the next bus is coming to your stop. http://goo.gl/Vcz1p
mobileAgent (for FreeAgent): get your accounts in your pocket.
http://goo.gl/IuBU
Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa
London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to