Wiki source for gtkdialogDocTips9.9
[[HomePage]] > [[SoftwareIndex|Software Index]] > [[SoftwareDevelopment|Development]] > [[gtkdialog|gtkdialog]] > [[gtkdialogDocTips|Tips and Tricks]]
====9.9 Set a fixed size of a progressbar====
Progressbars are by default rather big, and it's not that easy to redefine the width of them. To do this you have to combine some attributes.
%%(language-ref)
<hbox>
<vbox>
<progressbar width-request="100" height-request="20" Expand="no" Fill="no">
<input>echo 70; echo small bar</input>
</progressbar>
</vbox>
</hbox>
%%
===@@**#%[[gtkdialogDocTips9.8|❰❰❰ Previous]]#% #%[[gtkdialogDocTips|Index]]#% #%[[gtkdialogDocTips9.10|Next ❱❱❱]]#%**@@===
----
==Categories==
CategoryGtkdialog
====9.9 Set a fixed size of a progressbar====
Progressbars are by default rather big, and it's not that easy to redefine the width of them. To do this you have to combine some attributes.
%%(language-ref)
<hbox>
<vbox>
<progressbar width-request="100" height-request="20" Expand="no" Fill="no">
<input>echo 70; echo small bar</input>
</progressbar>
</vbox>
</hbox>
%%
===@@**#%[[gtkdialogDocTips9.8|❰❰❰ Previous]]#% #%[[gtkdialogDocTips|Index]]#% #%[[gtkdialogDocTips9.10|Next ❱❱❱]]#%**@@===
----
==Categories==
CategoryGtkdialog