mirror of
https://github.com/Benexl/FastAnime.git
synced 2025-12-27 13:13:25 -08:00
feat: Made search screen more responsive
This commit is contained in:
@@ -44,12 +44,11 @@
|
||||
width:dp(200)
|
||||
pos_hint: {'center_x': 0.5}
|
||||
MDButton:
|
||||
on_press:
|
||||
root.screen.stream_anime_with_custom_cmds_dialog()
|
||||
pos_hint: {'center_x': 0.5}
|
||||
|
||||
on_press:
|
||||
if root.screen:root.screen.stream_anime_with_custom_cmds_dialog(mpv=True)
|
||||
MDButtonText:
|
||||
text:"Watch on Animdl"
|
||||
text:"Watch with mpv"
|
||||
FitBoxLayout:
|
||||
HeaderLabel:
|
||||
text:"Alternative Titles"
|
||||
|
||||
@@ -37,8 +37,8 @@
|
||||
pos_hint: {'center_x': 0.5}
|
||||
id:search_results_container
|
||||
spacing: '40dp'
|
||||
padding: "75dp","50dp","75dp","200dp"
|
||||
cols:5
|
||||
padding: "25dp","50dp","75dp","200dp"
|
||||
cols:3 if root.width <= 1100 else 5
|
||||
size_hint_y:None
|
||||
height:max(self.parent.parent.height,self.minimum_height)
|
||||
SearchResultsPagination:
|
||||
|
||||
@@ -10,9 +10,13 @@ import webbrowser
|
||||
import plyer
|
||||
|
||||
from kivy.config import Config
|
||||
Config.set("graphics","width","1000")
|
||||
Config.set("graphics","minimum_width","1000")
|
||||
|
||||
# Config.set('kivy', 'window_icon', "logo.ico")
|
||||
# Config.write()
|
||||
Config.write()
|
||||
|
||||
# from kivy.core.window import Window
|
||||
|
||||
from kivy.loader import Loader
|
||||
|
||||
@@ -72,6 +76,7 @@ class AniXStreamApp(MDApp):
|
||||
|
||||
def __init__(self, **kwargs):
|
||||
super().__init__(**kwargs)
|
||||
|
||||
self.load_all_kv_files(self.directory)
|
||||
self.theme_cls.theme_style = "Dark"
|
||||
self.theme_cls.primary_palette = "Lightcoral"
|
||||
|
||||
Reference in New Issue
Block a user