Oh, I see. I thought you meant the link since Brett said I had done this for the About box (Now Aaron's code snippet makes more sense) :). I didn't have to do any "bolding" of text in the About box, but I can see you running into exactly the same problems I did with the link. There be dragons. I have scars to prove it.
On Thu, Aug 27, 2009 at 08:01, Evan Martin <[email protected]> wrote: > To be clear, Aaron's asking how to get the bold text in his paragraph, > not the "More information..." link. :) > > On Thu, Aug 27, 2009 at 7:42 AM, Finnur Thorarinsson<[email protected]> > wrote: > > > > It is only incredibly painful if you mix in the link in with other words > in > > the middle of a sentence, like I had to do with the About box. If you, > > instead, have a link below the main text (like the mock shows) it is dead > > simple and easy. > > I don't see why you should avoid using Link in that case. > > > > On Thu, Aug 27, 2009 at 00:14, Aaron Boodman <[email protected]> wrote: > >> > >> On Thu, Aug 27, 2009 at 12:06 AM, Ben Goodger (Google)<[email protected] > > > >> wrote: > >> > I actually don't like having a mix of HTML/native UIs in the product. > >> > When we switched to the NTP from the old Destinations page we made the > >> > decision to have the content of tabs feel webby and the content of > >> > dialogs feel dialoggy. > >> > > >> > As a result the NTP now feels pleasantly webby, but many of the HTML > >> > dialogs don't feel dialoggy (focus issues, key accelerators, etc). > >> > >> This is why I decided to go with native for the install dialog. > >> > >> I feel like doing this the way that the about dialog is done would be > >> incredibly painful and buggy because of wrapping issues. Also, at > >> least on my machine (I am one of those weirdos that uses vista with > >> the classic theme), the about dialog does not look right. The > >> alignment of the links is slightly off. > >> > >> I would prefer to use the platform APIs that already know how to do > >> this correctly. I'm thinking of adding something like > >> set_bold_delimiter(const std::string&) on Label. You could use it like > >> this: > >> > >> myLabel->set_bold_delimiter("*"); > >> myLabel->set_text("hello *world*"); > >> > >> Is this totally lame? > >> > >> - a > >> > >> > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---
