mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-02 21:00:38 +02:00
qt: use AParams info to set TCustomListBox BorderStyle at handle creation
git-svn-id: trunk@25392 -
This commit is contained in:
parent
25f7120344
commit
adbaa85ed7
@ -402,6 +402,12 @@ begin
|
||||
|
||||
QtListWidget.setSelectionMode(SelMode);
|
||||
|
||||
//Set BorderStyle according to the provided Params
|
||||
if (AParams.ExStyle and WS_EX_CLIENTEDGE) > 0 then
|
||||
QtListWidget.setFrameShape(QFrameStyledPanel)
|
||||
else
|
||||
QtListWidget.setFrameShape(QFrameNoFrame);
|
||||
|
||||
QtListWidget.AttachEvents;
|
||||
|
||||
// create our FList helper
|
||||
|
Loading…
Reference in New Issue
Block a user