NOW I get ya!

You could make an Element which looks the same. You can use the
UIViewElement (I think thats the name) and throw any old view in there
- a custom one, or just a UILabel.

Or make a new Element which has a Label with the right parameters set
on it, and use that. New Elements are not hard to write - take a look
at the email one:

If you NEED the rounded corners, then.... well, I usually do it with
an image :) Just set the BackgroundView to be the right one. There are
a lot of photoshop templates around which have a version of the cell
backgrounds in them them.

But if you have a non-grouped list, then putting a single item in
there that HAS the grouped look would look.... wrong. No?

Have a look at earnest:

http://www.earnestapp.com/

it's free, too. It's all, 100% monotouch.dialog. Happy to explain how
I did this, tho a lot of it is here:

http://fastchicken.co.nz/2012/04/04/earnest-the-newest-member-of-the-freeagent-and-bigted-family/

http://fastchicken.co.nz/2012/05/20/earnest-debrief-visual-styles-in-ios-apps-uiappearence-custom-sections-in-monotouch-dialog/

http://fastchicken.co.nz/2012/09/13/earnest-has-a-growth-spurt-making-monotouch-apps-work-with-the-new-iphone/

Hope that helps.

Nic


On Thu, Oct 4, 2012 at 4:45 PM, Guido Van Hoecke <[email protected]> wrote:
> Hi Nic,
>
> On 4 October 2012 16:48, Nic Wise <[email protected]> wrote:
>> ... can you explain a bit more? I'm not sure what you are trying to
>> do. link to an image maybe?
>
> I am working at an app that heavily uses MonoTouch.Dialog. Most
> RootElements use the grouped style. Most of their sections have a footer
> text with help and info about their section.
>
> Unfortunately, I have a couple of RootElements that use the plain style
> (the sections are OwnerDrawnElements). To provide help and info under
> these sections, I would create a StyledMultilineElement that has the
> same look and feel of the footer of a grouped RootElement Section.
>
> Alternatively, I could use the grouped approach, but then the top and
> bottom element corners stick out beyond the rounded section corners,
> and that is also very ugly.
>
> If I would know how to hide / shave off those corners from the first and
> the last of my rectangular OwnerDrawnElements, I would definitely go for
> that approach.
>
> I hope that this clarifies the reasons why I asked the question.
>
> With kind regards,
>
> Guido
>
>>
>> On Thu, Oct 4, 2012 at 3:32 PM, Guido Van Hoecke <[email protected]> wrote:
>>> Hi,
>>>
>>> I need to create a StyledMultilineElement that uses the background
>>> and font of the footer of a grouped ElementRoot.
>>>
>>> I have failed to google the required background and font settings.
>>>
>>> Any suggestions, any one?
>>>
>>> Thanks in advance.
>>>
>>> With kind regards,
>>>
>>>
>>> Guido
>>>
>>> --
>>> The three laws of thermodynamics:
>>>         (1) You can't get anything without working for it.
>>>         (2) The most you can accomplish by working is to break even.
>>>         (3) You can only break even at absolute zero.
>>>
>>> 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/
>>
>> 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
>> 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
>> London Bike App: Find the nearest Boris Bike, and get riding! 
>> http://goo.gl/Icp2



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

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
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
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