policycheck_view: adapt width of policy number text_box

Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
This commit is contained in:
2020-07-02 08:39:15 +02:00
parent 8d7d5176d9
commit b76090d846

View File

@@ -266,7 +266,7 @@ impl Template for PolicyCheckView {
TextBox::new()
.id(ID_POLICY_CHECK_POLICY_NUMBER)
.h_align("start")
.width(250.0)
.width(280.0)
.min_width(200.0)
.margin((0.0, 0.0, 0.0, 16.0))
.lost_focus_on_activation(false)
@@ -314,7 +314,8 @@ impl Template for PolicyCheckView {
//)
.child(
TextBlock::new()
.id(ID_POLICY_CHECK_RESULT)
//.id(ID_POLICY_CHECK_RESULT)
.id("policy_check_result")
.h_align("start")
.attach(Grid::column(1))
.attach(Grid::row(1))