- some reformatting and class rename

- when clicking the coordinates toolbars in the status bar now the Distance Plugin is shown and if already displayed, it is closed (toggle action)
This commit is contained in:
Marius Stanciu
2022-04-03 15:06:36 +03:00
committed by Marius
parent 1b9e2feb75
commit a59f996819
90 changed files with 569 additions and 470 deletions

View File

@@ -427,7 +427,7 @@ class AlignUI:
self.tools_box.addWidget(m_frame)
# Grid Layout
grid0 = FCGridLayout(v_spacing=5, h_spacing=3)
grid0 = GLay(v_spacing=5, h_spacing=3)
m_frame.setLayout(grid0)
# Type of object to be aligned
@@ -466,7 +466,7 @@ class AlignUI:
self.tools_box.addWidget(d_frame)
# Grid Layout
grid1 = FCGridLayout(v_spacing=5, h_spacing=3)
grid1 = GLay(v_spacing=5, h_spacing=3)
d_frame.setLayout(grid1)
# Type of object to be aligned to = aligner
@@ -499,7 +499,7 @@ class AlignUI:
self.tools_box.addWidget(par_frame)
# Grid Layout
grid2 = FCGridLayout(v_spacing=5, h_spacing=3)
grid2 = GLay(v_spacing=5, h_spacing=3)
par_frame.setLayout(grid2)
# Alignment Type
@@ -518,7 +518,7 @@ class AlignUI:
grid2.addWidget(self.a_type_lbl, 0, 0, 1, 2)
grid2.addWidget(self.a_type_radio, 2, 0, 1, 2)
# FCGridLayout.set_common_column_size([grid0, grid1, grid2], 0, FCLabel)
# GLay.set_common_column_size([grid0, grid1, grid2], 0, FCLabel)
# Buttons
self.align_object_button = FCButton(_("Align Object"))