policycheck_view: adapt width of policy number text_box
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
This commit is contained in:
@@ -266,7 +266,7 @@ impl Template for PolicyCheckView {
|
|||||||
TextBox::new()
|
TextBox::new()
|
||||||
.id(ID_POLICY_CHECK_POLICY_NUMBER)
|
.id(ID_POLICY_CHECK_POLICY_NUMBER)
|
||||||
.h_align("start")
|
.h_align("start")
|
||||||
.width(250.0)
|
.width(280.0)
|
||||||
.min_width(200.0)
|
.min_width(200.0)
|
||||||
.margin((0.0, 0.0, 0.0, 16.0))
|
.margin((0.0, 0.0, 0.0, 16.0))
|
||||||
.lost_focus_on_activation(false)
|
.lost_focus_on_activation(false)
|
||||||
@@ -314,7 +314,8 @@ impl Template for PolicyCheckView {
|
|||||||
//)
|
//)
|
||||||
.child(
|
.child(
|
||||||
TextBlock::new()
|
TextBlock::new()
|
||||||
.id(ID_POLICY_CHECK_RESULT)
|
//.id(ID_POLICY_CHECK_RESULT)
|
||||||
|
.id("policy_check_result")
|
||||||
.h_align("start")
|
.h_align("start")
|
||||||
.attach(Grid::column(1))
|
.attach(Grid::column(1))
|
||||||
.attach(Grid::row(1))
|
.attach(Grid::row(1))
|
||||||
|
|||||||
Reference in New Issue
Block a user