GTKD - Attach Button to Grid in specific column and row
Mike Wey via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Jun 14 10:22:50 PDT 2016
On 06/14/2016 04:54 PM, TheDGuy wrote:
> On Saturday, 11 June 2016 at 21:14:43 UTC, Mike Wey wrote:
>> The way GTK manages width and height, usually widgets are given the
>> minimum size they need. So when the button is the only widget in the
>> grid the other rows and columns have a height/width of 0.
>>
>> You can force the button / gird cell to the bottom left by setting the
>> expand and alignment properties of the button.
>>
>> ....
>
> Thanks for your reply, but now the button is always on the bottom right :(
>
> ....
What are you trying to accomplish?
--
Mike Wey
More information about the Digitalmars-d-learn
mailing list