From 04edf9f2f39e2d45578e8007fa15dd84128919e2 Mon Sep 17 00:00:00 2001 From: Tom Schimansky Date: Fri, 5 Mar 2021 22:03:31 +0100 Subject: [PATCH] label change --- complex_example.py | 6 +++--- complex_example_other style.py | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/complex_example.py b/complex_example.py index a56dca3..8712fec 100644 --- a/complex_example.py +++ b/complex_example.py @@ -108,12 +108,12 @@ class App(tkinter.Tk): self.slider_2.place(x=20, rely=0.7, anchor=tkinter.W) self.slider_2.set(0.7) - self.label_info_1 = customtkinter.CTkLabel(master=self.frame_right, + self.label_info_2 = customtkinter.CTkLabel(master=self.frame_right, text="CTkLabel: Lorem ipsum", - width=150, + width=180, height=20, justify=tkinter.CENTER) - self.label_info_1.place(x=310, rely=0.6, anchor=tkinter.CENTER) + self.label_info_2.place(x=310, rely=0.6, anchor=tkinter.CENTER) self.button_4 = customtkinter.CTkButton(master=self.frame_right, height=25, diff --git a/complex_example_other style.py b/complex_example_other style.py index 0b49b04..2552e20 100644 --- a/complex_example_other style.py +++ b/complex_example_other style.py @@ -127,12 +127,12 @@ class App(tkinter.Tk): self.slider_2.place(x=20, rely=0.7, anchor=tkinter.W) self.slider_2.set(0.7) - self.label_info_1 = customtkinter.CTkLabel(master=self.frame_right, + self.label_info_2 = customtkinter.CTkLabel(master=self.frame_right, text="CTkLabel: Lorem ipsum", - width=150, + width=180, height=20, justify=tkinter.CENTER) - self.label_info_1.place(x=310, rely=0.6, anchor=tkinter.CENTER) + self.label_info_2.place(x=310, rely=0.6, anchor=tkinter.CENTER) self.button_4 = customtkinter.CTkButton(master=self.frame_right, border_color=App.MAIN_COLOR,