From e98a214463a15d7def2a7002f3e67ca586d3d70b Mon Sep 17 00:00:00 2001 From: donovaly Date: Thu, 19 Mar 2020 01:33:29 +0100 Subject: [PATCH] [TD] fix LeaderLine dialog - remove unnecessary layouts and avoid vertical whitespace --- src/Mod/TechDraw/Gui/TaskLeaderLine.ui | 550 ++++++++++++------------- 1 file changed, 256 insertions(+), 294 deletions(-) diff --git a/src/Mod/TechDraw/Gui/TaskLeaderLine.ui b/src/Mod/TechDraw/Gui/TaskLeaderLine.ui index 34a0e450e3..81b0ddc077 100644 --- a/src/Mod/TechDraw/Gui/TaskLeaderLine.ui +++ b/src/Mod/TechDraw/Gui/TaskLeaderLine.ui @@ -6,12 +6,12 @@ 0 0 - 409 - 405 + 350 + 225 - + 0 0 @@ -29,302 +29,264 @@ :/icons/actions/techdraw-LeaderLine.svg:/icons/actions/techdraw-LeaderLine.svg - + - - - - 0 - 0 - - - - QFrame::Box - - - QFrame::Raised - - - - - - - - - - Base View - - - - - - - true - - - - 0 - 0 - - - - - 16777215 - 22 - - - - false - - - Qt::NoFocus - - - false - - - Qt::ScrollBarAlwaysOff - - - - - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - Discard Changes - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - First pick the start pint of the line, + + + + + Base View + + + + + + + true + + + + 0 + 0 + + + + + 16777215 + 22 + + + + false + + + Qt::NoFocus + + + false + + + Qt::ScrollBarAlwaysOff + + + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + Discard Changes + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + First pick the start pint of the line, then at least a second point. You can pick further points to get line segments. - - - Pick Points - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - - Qt::Horizontal - - - - - - - QFormLayout::AllNonFixedFieldsGrow - - - - - Start Symbol - - - - - - - -1 - - - - - - - End Symbol - - - - - - - - - - Color - - - - - - - Line color - - - - 0 - 0 - 0 - - - - - - - - Width - - - - - - - true - - - Line width - - - 0.100000000000000 - - - 0.500000000000000 - - - - - - - Style - - - - - - - Line style - - - 1 - - - - NoLine - - - - :/icons/none.svg:/icons/none.svg - - - - - Continuous - - - - :/icons/continuous-line.svg:/icons/continuous-line.svg - - - - - Dash - - - - :/icons/dash-line.svg:/icons/dash-line.svg - - - - - Dot - - - - :/icons/dot-line.svg:/icons/dot-line.svg - - - - - DashDot - - - - :/icons/dashDot-line.svg:/icons/dashDot-line.svg - - - - - DashDotDot - - - - :/icons/dashDotDot-line.svg:/icons/dashDotDot-line.svg - - - - - - - - - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - + + + Pick Points + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + Qt::Horizontal + + + + + QFormLayout::AllNonFixedFieldsGrow + + + + + Start Symbol + + + + + + + -1 + + + + + + + End Symbol + + + + + + + + + + Color + + + + + + + Line color + + + + 0 + 0 + 0 + + + + + + + + Width + + + + + + + true + + + Line width + + + 0.100000000000000 + + + 0.500000000000000 + + + + + + + Style + + + + + + + Line style + + + 1 + + + + NoLine + + + + :/icons/none.svg:/icons/none.svg + + + + + Continuous + + + + :/icons/continuous-line.svg:/icons/continuous-line.svg + + + + + Dash + + + + :/icons/dash-line.svg:/icons/dash-line.svg + + + + + Dot + + + + :/icons/dot-line.svg:/icons/dot-line.svg + + + + + DashDot + + + + :/icons/dashDot-line.svg:/icons/dashDot-line.svg + + + + + DashDotDot + + + + :/icons/dashDotDot-line.svg:/icons/dashDotDot-line.svg + + + + + +