Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Pythonista Font Size
-
Hey Guys,
i have some Problems when i change the font size in my IOS Settings any Text is larger than it must...
Is it Possible to change that ?
look at my pics to see more
Thanks ;)
-
@DavinE, not 100% sure what your problem is, but all views with text have a
font
property that you can use to set the size exactly like you want it. Would have to experiment a bit, but I think that other fonts than<system>
do not change with iOS system settings. -
i think you don't unterstand it correct ^^
my english is too bad to say it better :(an other Try...
i have two devices iPhone one and two...
the first one got the standard font settings in the IOS
the second one change the font size in the IOS Settings and its to big...
the font size from Pythonista don't overwrite the IOS Settingsis that possible to do that ?
i hope its better to understand
-
@DavinE Perhaps, I also don't understand your problem, but did you try to change the Pythonista font size in its settings?
Edit: I suppose I'm wrong because this only changes the code font, not any ui texts fonts.
Thus, sorry -
For tables, You must set the font size as the second element of a tuple, on your listdatasource
font
attribute:import ui import faker factory=faker.Factory().create() l=[factory.text() for i in range(10)] listsource=ui.ListDataSource(l) tbl=ui.TableView(frame=[0,0,300,768]) tbl.data_source=listsource # change 12 to whatever font size you want listsource.font=('American Typewriter',12) tbl.present('sheet')
-
@cvp said:
@DavinE Perhaps, I also don't understand your problem, but did you try to change the Pythonista font size in its settings?
Edit: I suppose I'm wrong because this only changes the code font, not any ui texts fonts.
Thus, sorryyeah that was wrong :D but @JonB solved it
i only used it for datasource.font ;)
@cvp how can i post a pic in my Topic ? i don't get it....
-
-
Thanks @cvp