Forum Discussion
Buttons don't work with a title
If you don't use text on buttons, but title instead (which has correct style settings), then button stops working. For example page navigation doesn't work.
IMHO this is a defect.
Desktop: latest
Symptom is the same within Desktop and on Azure.
Hi TimoRiikonen ,
The title portion of a visual is "outside" the visual part so in the case of the button is not part of the action option so when you click the title you are not using any of the features of the buttons this is visible when you over on the button: in the title you get the arrow in the button itself you get the click option.
Not sure on what you mean by the correct style settings, but in buttons you have definitions for text that are very complete (in my opinion), sometimes confusing, because you can set for each state but very complete.
Can you please elaborate on what you are not able to setup when compared with the Title, so I can try and check what is the correct definition you need to do.
3 Replies
- MFelix
Super User
Hi TimoRiikonen ,
The title portion of a visual is "outside" the visual part so in the case of the button is not part of the action option so when you click the title you are not using any of the features of the buttons this is visible when you over on the button: in the title you get the arrow in the button itself you get the click option.
Not sure on what you mean by the correct style settings, but in buttons you have definitions for text that are very complete (in my opinion), sometimes confusing, because you can set for each state but very complete.
Can you please elaborate on what you are not able to setup when compared with the Title, so I can try and check what is the correct definition you need to do.
- TimoRiikonen
Advocate V
Ok, my buttons are so small that title gets displayed on the button and the result is that I have a button that doesn't do anything.
Maybe I was wrong about the button text, I thought it should be based on Title theme setting, but I suppose it is based on Title General setting.
So in this case Segoe UI when DIN would look better in buttons.- MFelix
Super User
Hi TimoRiikonen ,
Based on the theme you need to setup the text for buttons in the general option like you refer, however this will impact all your visualizations not sure if you want to have your tables, matrix, legends and so on with that same font.
One option is to have a personalization of the buttons part of the theme you can check how to change the theme json file in this documentation:
https://learn.microsoft.com/en-us/power-bi/create-reports/report-themes-create-custom
In this part you can see how it's done at a specific level of a visual:
This link give you the git repository with all the definitions for a full theme.
https://github.com/microsoft/powerbi-desktop-samples/blob/main/Report%20Theme%20JSON%20Schema/README.md