RESOLVED: HTML5 Skin Editor: Can't apply changes to buttons?
-
Phlawm53
- Sr. Propeller Head
- Posts: 442
- Joined: Tue Mar 16, 2010 10:58 am
- Location: San Francisco, CA
- Contact:
RESOLVED: HTML5 Skin Editor: Can't apply changes to buttons?
For Flare 8.1.2: In the HTML5 Skin Editor I can apply changes to the top-level toolbar settings, but I cannot apply changes to individual toolbar buttons.
Per the following screenshot, in the Flare 8 HTML5 Skin Editor I've successfully added a toolbar button (and gotten it to download a PDF file when clicked), then tried to specify an image file to use as the button background:
The screenshot shows the image in the Preview area. Note, too, that the screenshot is located in my Project resources ala \Content\Resources\Images\. Does it need to be somewhere else?
The next screenshot shows that I've applied borders to the user-defined button:
The screenshot also uses green to illustrate that I can apply border changes to the top-level Toolbar Buttons. So I appear to be in the "right place" with regard to configuring the toolbar, but changes to individual toolbar buttons aren't appearing in the gen'ed HTML5 Help system.
Any ideas? I've tried a few experiments but can't figure out how to apply customization to my user-defined toolbar button even though the button does download a PDF file when clicked (which I think means that overall the HTML5 Skin Editor is the "right place" to be configuring things?)
Cheers & thanks for your help,
Riley
Per the following screenshot, in the Flare 8 HTML5 Skin Editor I've successfully added a toolbar button (and gotten it to download a PDF file when clicked), then tried to specify an image file to use as the button background:
The screenshot shows the image in the Preview area. Note, too, that the screenshot is located in my Project resources ala \Content\Resources\Images\. Does it need to be somewhere else?
The next screenshot shows that I've applied borders to the user-defined button:
The screenshot also uses green to illustrate that I can apply border changes to the top-level Toolbar Buttons. So I appear to be in the "right place" with regard to configuring the toolbar, but changes to individual toolbar buttons aren't appearing in the gen'ed HTML5 Help system.
Any ideas? I've tried a few experiments but can't figure out how to apply customization to my user-defined toolbar button even though the button does download a PDF file when clicked (which I think means that overall the HTML5 Skin Editor is the "right place" to be configuring things?)
Cheers & thanks for your help,
Riley
You do not have the required permissions to view the files attached to this post.
Last edited by Phlawm53 on Thu Nov 29, 2012 3:19 pm, edited 1 time in total.
-
kwag_myers
- Propellus Maximus
- Posts: 810
- Joined: Wed Jul 25, 2012 11:36 am
- Location: Ann Arbor, MI
Re: HTML5 Skin Editor: Can't apply changes to buttons?
I'm a little confused by your screen shots because I don't have a Background section in the Properties window. As for button images, mine are set in the General > Icon property.
"I'm tryin' to think, but nothin' happens!" - Curly Joe Howard
-
Phlawm53
- Sr. Propeller Head
- Posts: 442
- Joined: Tue Mar 16, 2010 10:58 am
- Location: San Francisco, CA
- Contact:
Re: HTML5 Skin Editor: Can't apply changes to buttons?
I am in turn confused by General —> Icon. Here's what I have for HTML5 Skin Editor —> General:kwag_myers wrote:I'm a little confused by your screen shots because I don't have a Background section in the Properties window. As for button images, mine are set in the General > Icon property.
No Icon settings there, so I'm not sure where I should look(?)
Long story short, I can apply button setting such as borders at the topmost level, but I'm still not able to customize individual buttons in the toolbar.
Cheers & thanks,
Riley
SFO
You do not have the required permissions to view the files attached to this post.
-
kwag_myers
- Propellus Maximus
- Posts: 810
- Joined: Wed Jul 25, 2012 11:36 am
- Location: Ann Arbor, MI
Re: HTML5 Skin Editor: Can't apply changes to buttons?
Sorry, I wasn't clear. I'm referring to the General section of the Styles Properties:
You do not have the required permissions to view the files attached to this post.
"I'm tryin' to think, but nothin' happens!" - Curly Joe Howard
-
Phlawm53
- Sr. Propeller Head
- Posts: 442
- Joined: Tue Mar 16, 2010 10:58 am
- Location: San Francisco, CA
- Contact:
Re: HTML5 Skin Editor: Can't apply changes to buttons?
Thanks. Alas, that screenshot is of the Skin Editor. My screenshots are of the HTML5 Skin Editor.kwag_myers wrote:Sorry, I wasn't clear. I'm referring to the General section of the Styles Properties:
- In the Skin Editor shown in your screenshot, we have Styles —> ToolbarItem —> [button name]
- In the HTML5 Skin Editor shown in my screenshot, we have Styles —> Toolbar Button —> [button name]
The HTML5 Skin Editor, along with the HTML5 Target type, still seem to be experiencing growing pains…
Cheers & thanks 'gain,
Riley
SFO
-
kwag_myers
- Propellus Maximus
- Posts: 810
- Joined: Wed Jul 25, 2012 11:36 am
- Location: Ann Arbor, MI
Re: HTML5 Skin Editor: Can't apply changes to buttons?
Ah, I see. Now that we have that (or should I say, "me") straightened out, let me ask, what size is the image you're trying to apply? I remember my first project where I had to play with image and toolbar sizes quite a bit.
"I'm tryin' to think, but nothin' happens!" - Curly Joe Howard
-
Phlawm53
- Sr. Propeller Head
- Posts: 442
- Joined: Tue Mar 16, 2010 10:58 am
- Location: San Francisco, CA
- Contact:
Re: HTML5 Skin Editor: Can't apply changes to buttons?
The two things I've tried to do are as follows:kwag_myers wrote:…let me ask, what size is the image you're trying to apply? I remember my first project where I had to play with image and toolbar sizes quite a bit.
- Attempted to apply unique borders to one button that I've successfully added to the toolbar ("successfully" meaning it appears AND downloads a PDF file when clicked).
- Attempted to use a 22x22 px image as the background for that 22x22 px button.
In Step 2, and as shown in one of my initial screenshots, the 22x22 image I'm trying to insert into the button shows up in the HTML5 Skin Editor's Preview area, but does not appear in a gen'ed Preview OR the gen'ed HTML5 help system. Maybe I'll try a 21x21 image…(?)
As I type this, I'm wondering if what I'll need to do is abandon the top-level default setting and instead individually configure each button. That's counter-intuitive CSS-wise (i.e., no Cascade), but then again who said Flare was always logical?
Cheers & thanks,
Riley
SFO
Last edited by Phlawm53 on Thu Nov 29, 2012 1:54 pm, edited 1 time in total.
-
Mike Hamilton
- MadCap Executive Staff
- Posts: 7
- Joined: Fri Dec 02, 2005 4:25 pm
- Location: MadCap
- Contact:
Re: HTML5 Skin Editor: Can't apply changes to buttons?
Hi Riley,
It looks like you are doing all of the proper steps. As an attempt to help at least replicate the situation, is there any chance you could send me a copy of the graphic that you are using? Then I can try and create a custom button using the same components on a different machine. That should at least help to narrow down the problematic area.
Mike Hamilton
V.P. Product Evangelism
MadCap Software
mhamilton@madcapsoftware.com
It looks like you are doing all of the proper steps. As an attempt to help at least replicate the situation, is there any chance you could send me a copy of the graphic that you are using? Then I can try and create a custom button using the same components on a different machine. That should at least help to narrow down the problematic area.
Mike Hamilton
V.P. Product Evangelism
MadCap Software
mhamilton@madcapsoftware.com
Mike Hamilton
V.P. Product Management
MadCap software
V.P. Product Management
MadCap software
-
Phlawm53
- Sr. Propeller Head
- Posts: 442
- Joined: Tue Mar 16, 2010 10:58 am
- Location: San Francisco, CA
- Contact:
Re: HTML5 Skin Editor: Can't apply changes to buttons?
Mike: Thanks so much for offering to take a look at the problem!Mike Hamilton wrote:…is there any chance you could send me a copy of the graphic that you are using? Then I can try and create a custom button using the same components on a different machine. That should at least help to narrow down the problematic area.
I sent both the 22x22 pixel PNG and the project's HTML5 Skin file (.flskn filename extension) as attachments to a separate email message. And now that I think about it, I've attached them to this Forum post, too. (The .flskn file is packaged as a 7Z to make the Forum's upload filters happy…)
Cheers & THANKS! again,
Riley
SFO
You do not have the required permissions to view the files attached to this post.
-
Mike Hamilton
- MadCap Executive Staff
- Posts: 7
- Joined: Fri Dec 02, 2005 4:25 pm
- Location: MadCap
- Contact:
Re: HTML5 Skin Editor: Can't apply changes to buttons?
Good news, I do believe that I've found it.
Custom buttons are sensitive to having spaces in their names (like a lot of XHTML and/or CSS content) so I removed the custom button labled "Download as PDF" and added a new custom button labled "DownloadAsPdf" and all now seems to be working.
I updated my new button without spaces to include your style and graphic settings and it is attached. Please give it a try and let me know if it is now working for you.
I have submitted this to R&D with a request to add some text in the skin editor dialog warning to not use spaces in custom button names.
Mike
Custom buttons are sensitive to having spaces in their names (like a lot of XHTML and/or CSS content) so I removed the custom button labled "Download as PDF" and added a new custom button labled "DownloadAsPdf" and all now seems to be working.
I updated my new button without spaces to include your style and graphic settings and it is attached. Please give it a try and let me know if it is now working for you.
I have submitted this to R&D with a request to add some text in the skin editor dialog warning to not use spaces in custom button names.
Mike
You do not have the required permissions to view the files attached to this post.
Mike Hamilton
V.P. Product Management
MadCap software
V.P. Product Management
MadCap software
-
Phlawm53
- Sr. Propeller Head
- Posts: 442
- Joined: Tue Mar 16, 2010 10:58 am
- Location: San Francisco, CA
- Contact:
RESOLVED: HTML5 Skin Editor: Can't apply changes to buttons?
Yep, removing spaces from the button name fixed the problem.Please give [removing spaces from the button name] a try and let me know if it is now working for you.
As you said, the UI didn't let me know that spaces were invalid. Having said that, and benefiting from 20-20 hindsight, it's now completely obvious that none of the other buttons have spaces in their names.
Thanks, Mike, for taking a look at this. It's a great example of why I've become such a fan of Madcap the company and Flare the product…
Cheers, thanks 'gain, & take care,
Riley
SFO
Re: RESOLVED: HTML5 Skin Editor: Can't apply changes to buttons?
I have a follow up question to this:
How do you add a hover over label to a custom button? If you hover over all the default Madcap buttons (such as Print, Next topic, etc) they all have hover over labels when viewed in the browser. However, I cannot seem to find out how to add a hover over label to a custom button. Any suggestions?
How do you add a hover over label to a custom button? If you hover over all the default Madcap buttons (such as Print, Next topic, etc) they all have hover over labels when viewed in the browser. However, I cannot seem to find out how to add a hover over label to a custom button. Any suggestions?
-
Phlawm53
- Sr. Propeller Head
- Posts: 442
- Joined: Tue Mar 16, 2010 10:58 am
- Location: San Francisco, CA
- Contact:
Re: RESOLVED: HTML5 Skin Editor: Can't apply changes to buttons?
ANS: In HTML5 Skin Editor —> UI Text —> Toolbar Button.[button name]jay6678 wrote:How do you add a hover over label to a custom button?
The screenshot shows how I added roll-over text to my Download as PDF button.
Note also the Language dropdown at the top of the UI Text panel…
Cheers & hope this helps,
Riley
SFO
You do not have the required permissions to view the files attached to this post.
Last edited by Phlawm53 on Tue Dec 04, 2012 2:19 pm, edited 1 time in total.
Re: RESOLVED: HTML5 Skin Editor: Can't apply changes to buttons?
Riley,
Thank you! I don't know how I overlooked something so obvious - but that certainly solved my issue.
Thank you! I don't know how I overlooked something so obvious - but that certainly solved my issue.