You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thanks a lot for native-windows-gui, it's great to produce such simple lightweight GUIs in Rust.
I have one issue I failed to solve after reading documentation, examples and source code: how can I define in a GridLayout where a certain element should be inside it's "grid cell" if it does not fill it completely? This is not an issue for e.g. buttons or labels, because they just adjust their size to fill up their grid cell, so defining the alignment of the text they contain is enough in almost all cases. But when I add a checkbox (with empty and thus invisible label), this will position the check box as far left as possible inside its grid cell (probably leaving as much space for the empty label as possible).
Is there a way to do this with native-windows-gui? Did I overlook something?
The text was updated successfully, but these errors were encountered:
Hi, thanks a lot for native-windows-gui, it's great to produce such simple lightweight GUIs in Rust.
I have one issue I failed to solve after reading documentation, examples and source code: how can I define in a GridLayout where a certain element should be inside it's "grid cell" if it does not fill it completely? This is not an issue for e.g. buttons or labels, because they just adjust their size to fill up their grid cell, so defining the alignment of the text they contain is enough in almost all cases. But when I add a checkbox (with empty and thus invisible label), this will position the check box as far left as possible inside its grid cell (probably leaving as much space for the empty label as possible).
Is there a way to do this with native-windows-gui? Did I overlook something?
The text was updated successfully, but these errors were encountered: