Python Kivy GUI - Automatically resize Text to fit Label when Label resizes - Tutorial part 5

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ธ.ค. 2024

ความคิดเห็น • 7

  • @AhmetSeyyitKivrak
    @AhmetSeyyitKivrak ปีที่แล้ว +1

    wonderfull !! congratulations to you!!!

    • @SCOBAS
      @SCOBAS  ปีที่แล้ว

      Glad you liked it! Thank you for taking the time to leave feedback. It's much appreciated!

  • @mecrayavcin
    @mecrayavcin 10 หลายเดือนก่อน +1

    Excellent work ❤
    I have 1 question could you please help me?
    I studied this example in my PC
    But there is something that i could not solve.
    ResizeableLabel:
    font_size: 500
    If i increase font_size in KV file nothing changed. I set it font_size: 500 and font_size: 1
    In KV file font_size number not working, does not affect to anything Why?
    Thanks

    • @SCOBAS
      @SCOBAS  10 หลายเดือนก่อน

      Hey, thank you for leaving a comment! Regarding your question, I can't recreate the issue, so it might be system-dependent. What if you change it to font_size = '500dp'

    • @mecrayavcin
      @mecrayavcin 10 หลายเดือนก่อน

      Thanks for your fast reply. I tried code both kivy 2.3.0 and 2.1.0. Also i tried dp but not worked. I asked this Chatgpt and it created a spesific font size code under class and i used it but not worked too. Your code logic is awesome but we can not set a spesific font_ size. If you look to this code in your free time i will be happy. I hope you can find a solution

    • @SCOBAS
      @SCOBAS  10 หลายเดือนก่อน

      @mecrayavcin hmm, sorry, not sure what is driving that. Is your python version the correct one for the kivy version you're using? See kivy.org/doc/stable/gettingstarted/installation.html

    • @mecrayavcin
      @mecrayavcin 10 หลายเดือนก่อน

      @@SCOBAS yes python versions was right. If you want to use Kivy 2.1.0 you need python 3.10 otherwise you can't install it anaconda envoronment. For the latest kivy 2.3.0 you can use python 3.17. Maybe one day you can check code for me. Thanks very much. I will check your videos too. I appreciate you for your excellent contents