-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added title and themes to the presentation table dialog #9413
Added title and themes to the presentation table dialog #9413
Conversation
Dlg presentation table
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@derekagorhom and @Fidel365 it is coming on. However I didn't think it was as hard as you are making it. There is more coming on the tables, so I hope you can finish this soon and then progress.
I am including @berylwaswa on this message as she will also be testing this pull request. She has been asking about how titles and footnotes can be added to tables, so this will be a nice answer for her.
Here is the dialog using the illness data that comes with the gt package.
I have now changed to the Excel theme and tried again. Here is the result
Now there are - at this stage just 2 problems left:
a) Why is the Styles button not enabled on the main dialog.
b) Why is the footnote not "connected" to the title?
When I look at the sub-dialog, the answer to b) is becoming clearer:
You can see here that the title line is also "magically" also in the sub-dialog, but the footer remains blank.
@derekagorhom I hope this helps in finalising this improvement, and @berylwaswa I hope this also helps you to see the sort of thing to look out for, when you are testing.
@derekagorhom that's great. The footnote works and is also in the sub-dialog. c) I used Theme Excel which works fine. But could it also please say the same thing in the Themes sub-dialog tab? @berylwaswa I hope you have also noticed that, with this dialog we don't have to use a filter to just show the top 10 lines. This is another option on the main dialog. The default is currently 100. I wonder if we should make it 10 instead - as we have an example, from gt that uses 10? |
I managed to add the title and the footnote to the first example with the illness data. I don't know if there is a way to make the word test bold as it is in the one produced by the code. @rdstern it works fine when I just select to show ten lines so we don't have to filter anymore. I guess that means we also don't have to create the row numbers column. @derekagorhom see what I got below. |
@derekagorhom I saw more examples from gt and they all use 10 rows to demonstrate the package. So could you please also change the 100 to 10, as the new default in the Presentation dialog? Thanks |
@berylwaswa I have enabled item a and changes the parameter value from 100 to 10 |
@derekagorhom for part c, look at my pr #9420 |
I have sent you a skype message |
Fixes #9323
Replaces #9336
I have added title, footnote and themes to the presentation table dialog
I also disabled the style button from @Fidel365 original PR.
@Fidel365 can you check and confirm this is what Roger asked you to do.
Thanks