hwtk GUI creation

vreddy
vreddy Altair Community Member
edited October 2020 in Community Q&A

 

Hi,

In the below command how to increase font size.

 

    hwtk::label $w.d.a11 -text ' Engine ' -help 'Text label with flat relief'
    pack $w.d.a11 -side left -padx 0 -pady 2 

 

Thanks in advance.

Answers

  • tinh
    tinh Altair Community Member
    edited November 2017

    hi

    try option

    -font {Arial 14}

  • vreddy
    vreddy Altair Community Member
    edited December 2017

    Thanks tinh

     

    try option

    -font {Arial 14}

    When i try to use above option its throwing error

     

    hwtk::label $w.d.a11 -text ' Engine ' -font {Arial 14}  -help 'Text label with flat relief'
       pack $w.d.a11 -side left -padx 0 -pady 2 

     

    unknown option '-font'

     

    Thanks ..

     

     

     

  • tinh
    tinh Altair Community Member
    edited December 2017

    maybe font is not changable (ttk label),

    use cmd label instead of hwtk::label