0

How can I change the font size of a Number field

How can I change the font size of a Number field

16replies Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
    • Birger H
    • Birger_H
    • 4 yrs ago
    • Reported - view

    Please click on the gear symbol on your Ninox start page and go to the option "Font size". There you can choose one of the offered font sizes:

    Font_size (1)

    Like
  • Thank You

    Like
  • The ability to change the display font size seems to be gone in the current version. Some of us are older, Ninox programmers. Really, you should have the ability to change the display size of ANY field.

    Like
  • Peter in cloud version it is still there!

    Like
  • Mel, I don't see it. When I click the gear icon there I see the language options but nothing related to the display. Am I missing something?

    Like
  • Here's what I seeScreen Shot 2021-05-07 at 11.18.02 AM

    Like
    • Sean
    • Sean
    • 1 yr ago
    • Reported - view

    Peter, you can try Command + to increase the font size and Command - to reduce it. Command 0 resets the font size.

    Like
  • Sean, that's a good point. It does work in a browser, not in the desktop/iOS versions. Although what it's really doing is increasing the screen size en masse. Better than nothing, but it's high time Ninox allows different display font sizes, and not just for headers. I'll go put that in the suggestion area.

    Like
    • Sean
    • Sean
    • 1 yr ago
    • Reported - view

    Peter, yeah, I realized that after I posted. Since Ninox screwed me over on my forum scraper project, I've moved on to a CSS formula generator that enables changes like that. The implementation isn't ideal, but it's better than nothing. I've been working like a rented mule at my real job so it's taking a while. I'll post in use cases when it's ready.

    Like
    • Sean
    • Sean
    • 1 yr ago
    • Reported - view

    A couple of screenshots...

     

    Screen Shot 2021-05-08 at 12.18.36 PM

     

    Screen Shot 2021-05-08 at 12.18.57 PM

    Like
  • Wow Sean, very nice! Now you've inspired me .... !!  

    .... But, if I'm remembering correctly, CSS can only be added in a Formula field but then it would only apply to that specific Table. However your screenshots show the entire dBase is themed (left sidebar, etc.) ? 

    Thanks! :-) 

    Karen

    Like
    • Sean
    • Sean
    • 1 yr ago
    • Reported - view

    Hi Karen, there really isn't much you can't modify at this point. I think the only elements you can't modify are the input fields because they are encapsulated. As long you provide a source to different icons, I think you can change those as well. So, unless they move everything to shadow DOM, which wouldn't surprise me after they crippled the http() function, you can modify most of the UI. You still need to put the CSS formula in a Formula field. Once that's done, you will need formula fields in all other Tables and Tabs, but you can just make those equal to the Formula field in the root table so you only need to modify that one field to make changes in all of them.

     

    I'm still working on the CSS generator... I've got the Yes / No Slider, the Choice field and the Multiple choice fields left. I'm hoping someone more creative can come up with some nice themes. Your chance to pay it forward! ;-)

    Like
  • Here's the slider:

    div.booleanslide-slide{background-color: #ff0045;}

    Steven

    Like
  • For the false status....

    Like
    • Sean
    • Sean
    • 1 yr ago
    • Reported - view

    Thanks Steven, I think I have all of the class names for the fields at this point and there is some overlap so that saves some trouble. Right now, I just need to copy the code in "Trigger after update" to add, delete and modify classes and properties. Mostly copy and paste, but change the element and field names. I can't use a global function because they don't accept field references and I didn't want to use an extremely long switch statement.

    Like
  • Maybe a little tip, if you make a table with only one empty form view with your (hidden,using colors)html-formula field, you can use openFullscreen() to open it.

    All the other tables opened with openfullscreen are opening on top of this and I think the CSS(from your empty form) will apply on those too.

    So you could create a sort of Startpage with buttons opening simultanious the empty page for the background and then the other form with records on top of it.

    Haven't got the time to test this yet but I think this'll work.

    Steven

    Like
Like Follow
  • 1 yr agoLast active
  • 16Replies
  • 3127Views